summaryrefslogtreecommitdiffstats
path: root/x11/gdm2/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-13 18:46:57 +0000
committermarcus <marcus@FreeBSD.org>2002-10-13 18:46:57 +0000
commit81057286770b28e94768a5247b0b7ec690a8eb98 (patch)
tree27ccc8848a60f79dcd37b5b4c7fe5385622810eb /x11/gdm2/files
parent7b43a31f85bec10a0ff3388bad72713a89a917ae (diff)
downloadFreeBSD-ports-81057286770b28e94768a5247b0b7ec690a8eb98.zip
FreeBSD-ports-81057286770b28e94768a5247b0b7ec690a8eb98.tar.gz
When shutting down from gdm, try to power down the machine instead of just
halting it. PR: 44018 Submitted by: Keith Jones <kmjones@blueyonder.co.uk>
Diffstat (limited to 'x11/gdm2/files')
-rw-r--r--x11/gdm2/files/patch-ab13
1 files changed, 11 insertions, 2 deletions
diff --git a/x11/gdm2/files/patch-ab b/x11/gdm2/files/patch-ab
index e8c90a9..10b04a1 100644
--- a/x11/gdm2/files/patch-ab
+++ b/x11/gdm2/files/patch-ab
@@ -1,5 +1,5 @@
---- config/gdm.conf.in.orig Fri Aug 23 13:53:53 2002
-+++ config/gdm.conf.in Sun Oct 13 11:53:36 2002
+--- config/gdm.conf.in.orig Fri Aug 23 18:53:53 2002
++++ config/gdm.conf.in Sun Oct 13 17:57:14 2002
@@ -33,14 +33,14 @@
# The gdm configuration program that is run from the login screen, you should
# probably leave this alone
@@ -26,6 +26,15 @@
# You should probably never change this value unless you have a weird setup
PidFile=/var/run/gdm.pid
PostSessionScriptDir=@EXPANDED_SYSCONFDIR@/gdm/PostSession/
+@@ -72,7 +72,7 @@
+ # Reboot, Halt and suspend commands, you can add different commands
+ # separated by a semicolon and gdm will use the first one it can find
+ RebootCommand=/sbin/shutdown -r now;/usr/sbin/shutdown -r now
+-HaltCommand=/usr/bin/poweroff;/sbin/poweroff;/sbin/shutdown -h now;/usr/sbin/shutdown -h now
++HaltCommand=/sbin/shutdown -p now;/usr/sbin/shutdown -p now
+ SuspendCommand=
+ # Probably should not touch the below this is the standard setup
+ ServAuthDir=@EXPANDED_AUTHDIR@
@@ -84,16 +84,16 @@
UserAuthFBDir=/tmp
UserAuthFile=.Xauthority
OpenPOWER on IntegriCloud