summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/Makefile.am1
-rwxr-xr-xutils/bb-kexec-reboot3
2 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud