summaryrefslogtreecommitdiff
path: root/packages/gpe-conf/gpe-conf-0.2.7/poweroff.patch
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2008-06-05 12:58:14 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2008-06-05 12:58:14 +0000
commit7b59c5af4c30a843e491fab3082eaffd64dbe1d5 (patch)
tree7ab9f33bf1a722649b3c15c0b5e8d421ca85d7ce /packages/gpe-conf/gpe-conf-0.2.7/poweroff.patch
parent1048a3e699020a072d7d467a815d3f4b2b0e1ead (diff)
gpe-conf: add patch file
Diffstat (limited to 'packages/gpe-conf/gpe-conf-0.2.7/poweroff.patch')
-rw-r--r--packages/gpe-conf/gpe-conf-0.2.7/poweroff.patch11
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 */
+ {