summaryrefslogtreecommitdiffstats
path: root/abs/core/sysvinit/halt_init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/sysvinit/halt_init.patch')
-rw-r--r--abs/core/sysvinit/halt_init.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/sysvinit/halt_init.patch b/abs/core/sysvinit/halt_init.patch
new file mode 100644
index 0000000..4f10932
--- /dev/null
+++ b/abs/core/sysvinit/halt_init.patch
@@ -0,0 +1,11 @@
+--- src/halt.c.orig 2010-02-26 13:45:49.000000000 +0000
++++ src/halt.c 2012-08-07 23:13:06.321378085 +0000
+@@ -197,6 +197,8 @@
+
+ if (!strcmp(progname, "reboot")) do_reboot = 1;
+ if (!strcmp(progname, "poweroff")) do_poweroff = 1;
++ if (!strcmp(progname, "reboot.init")) do_reboot = 1;
++ if (!strcmp(progname, "poweroff.init")) do_poweroff = 1;
+
+ /*
+ * Get flags