--- 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
 };
