aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mythtv-frontend/files/patch-programs__mythfrontend__main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mythtv-frontend/files/patch-programs__mythfrontend__main.cpp')
-rw-r--r--multimedia/mythtv-frontend/files/patch-programs__mythfrontend__main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/mythtv-frontend/files/patch-programs__mythfrontend__main.cpp b/multimedia/mythtv-frontend/files/patch-programs__mythfrontend__main.cpp
new file mode 100644
index 000000000000..54d3e2006e8a
--- /dev/null
+++ b/multimedia/mythtv-frontend/files/patch-programs__mythfrontend__main.cpp
@@ -0,0 +1,11 @@
+--- ./programs/mythfrontend/main.cpp.orig 2008-02-23 22:25:03.000000000 -0500
++++ ./programs/mythfrontend/main.cpp 2009-04-22 21:05:21.000000000 -0400
+@@ -577,7 +577,7 @@
+ void haltnow()
+ {
+ QString halt_cmd = gContext->GetSetting("HaltCommand",
+- "sudo /sbin/halt -p");
++ "/sbin/shutdown -p now");
+ if (!halt_cmd.isEmpty())
+ system(halt_cmd.ascii());
+ }