]> git.ozlabs.org Git - petitboot/commitdiff
utils: Add busybox reboot script
authorJeremy Kerr <jk@ozlabs.org>
Thu, 20 Jun 2013 02:56:04 +0000 (10:56 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 24 Jun 2013 05:07:58 +0000 (13:07 +0800)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
utils/Makefile.am
utils/bb-kexec-reboot [new file with mode: 0755]

index f7328b883351c19e2b0384b2cf5caa3649da5d43..2d7fe2df5e1800a69a2011a8238a6a78ef1e7155 100644 (file)
@@ -29,6 +29,7 @@ pb_event_SOURCES = pb-event.c
 
 dist_pkgdata_DATA = \
        kboot.conf.sample \
+       bb-kexec-reboot \
        logrotate.conf
 
 MAINTAINERCLEANFILES = Makefile.in
diff --git a/utils/bb-kexec-reboot b/utils/bb-kexec-reboot
new file mode 100755 (executable)
index 0000000..9f9ea92
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec kill -QUIT 1