diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-08-11 12:17:06 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-08-11 12:17:06 +0000 |
commit | 8e634aac21614b4921688089a30e3e3fb9bb66eb (patch) | |
tree | c8d8ea21ba18d58d4522916b2fd32e2ce9f0ea08 /x11 | |
parent | Fix the recent breakage introduced in 1.1.4 upgrade. (diff) |
Fix yet another linuxism: /usr/bin/shutdown --> /sbin/shutdown.
Notes
Notes:
svn path=/head/; revision=31527
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gnomecore/files/patch-ar | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/gnomecore/files/patch-ar b/x11/gnomecore/files/patch-ar new file mode 100644 index 000000000000..80cef438a1b4 --- /dev/null +++ b/x11/gnomecore/files/patch-ar @@ -0,0 +1,23 @@ +--- 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 */ |