summaryrefslogtreecommitdiffstats
path: root/abs/core/sysvinit/halt-init.patch
blob: 0885252317a837903ac9815f73dcb6b7ba0e5e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/halt.c.orig	2010-02-26 13:45:49.000000000 +0000
+++ src/halt.c	2010-12-02 17:42:51.000000000 +0000
@@ -198,6 +198,9 @@
 	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
 	 */