summaryrefslogtreecommitdiff
path: root/packages/gpe-conf/gpe-conf-0.2.7/poweroff.patch
blob: 2255886968f5c8a344a1eb007f6f70d284adee74 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- gpe-conf/suid.c~	2008-06-05 12:41:26.000000000 +0200
+++ gpe-conf/suid.c	2008-06-05 12:41:26.000000000 +0200
@@ -454,7 +454,7 @@
 				else if (strcmp (cmd, "SHDN") == 0)  // shutdown device
 				{
 					fscanf (in, "%100s", arg2);
-					system ("poweroff");
+					system ("/sbin/poweroff");
 				}
 				else if (strcmp (cmd, "MODP") == 0)  /* modprobe kernel module */
 				{