summaryrefslogtreecommitdiffstats
path: root/abs/core/sysvinit/halt_init.patch
blob: 4f109321d9ba48668ae94b143e774d8e07b9839b (plain)
1
2
3
4
5
6
7
8
9
10
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