From: Jeremy Kerr Date: Thu, 20 Jun 2013 02:56:04 +0000 (+0800) Subject: utils: Add busybox reboot script X-Git-Tag: v1.0.0~568 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=93dc538ce05cede3293477d5dded057682b9cc92 utils: Add busybox reboot script Signed-off-by: Jeremy Kerr --- diff --git a/utils/Makefile.am b/utils/Makefile.am index f7328b8..2d7fe2d 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -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 index 0000000..9f9ea92 --- /dev/null +++ b/utils/bb-kexec-reboot @@ -0,0 +1,3 @@ +#!/bin/sh + +exec kill -QUIT 1