summaryrefslogtreecommitdiff
path: root/x11/gnomecore/files/patch-ar
blob: d39b118684db40d7160eee656b1eb5994e3f1d97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- gsm/logout.c.orig	Thu Mar 15 10:35:51 2001
+++ gsm/logout.c	Sun Mar 18 20:54:55 2001
@@ -36,3 +36,7 @@
 {
+#ifdef __FreeBSD__
+  "/sbin/shutdown", "-h", "now", NULL
+#else
   "/usr/bin/poweroff", NULL
+#endif
 };
@@ -41,3 +45,7 @@
 {
+#ifdef __FreeBSD__
+  "/sbin/shutdown", "-r", "now", NULL
+#else
   "/usr/bin/reboot", NULL
+#endif
 };