diff options
-rw-r--r-- | packages/gpe-conf/gpe-conf-0.2.7/poweroff.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/gpe-conf/gpe-conf-0.2.7/poweroff.patch b/packages/gpe-conf/gpe-conf-0.2.7/poweroff.patch new file mode 100644 index 0000000000..2255886968 --- /dev/null +++ b/packages/gpe-conf/gpe-conf-0.2.7/poweroff.patch @@ -0,0 +1,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 */ + { |