1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/x11/gnomecore/files/patch-ar

24 lines
457 B
Plaintext

--- gsm/logout.c 2000/08/11 06:51:52 1.1
+++ gsm/logout.c 2000/08/11 07:07:38
@@ -34,12 +34,20 @@
static gchar *halt_command[] =
{
+#ifdef __FreeBSD__
+ "/sbin/shutdown", "-h", "now", NULL
+#else
"/usr/bin/shutdown", "-h", "now", NULL
+#endif
};
static gchar *reboot_command[] =
{
+#ifdef __FreeBSD__
+ "/sbin/shutdown", "-r", "now", NULL
+#else
"/usr/bin/shutdown", "-r", "now", NULL
+#endif
};
/* What action to take upon shutdown */