Commit e25b2ffe authored by Brian Cameron's avatar Brian Cameron Committed by Brian Cameron

Fixes to better support FreeBSD. Fixes bug #340668. Patch provided by Joe

2006-05-04  Brian Cameron  <brian.cameron@sun.com>

        * configure.ac, daemon/gdmconfig.c, daemon/server.c:  Fixes to
          better support FreeBSD.  Fixes bug #340668.  Patch provided by
          Joe Marcus Clark <marcus@freebsd.org>.
parent d34c8c3e
2006-05-04 Brian Cameron <brian.cameron@sun.com>
* configure.ac, daemon/gdmconfig.c, daemon/server.c: Fixes to
better support FreeBSD. Fixes bug #340668. Patch provided by
Joe Marcus Clark <marcus@freebsd.org>.
2006-05-04 Brian Cameron <brian.cameron@sun.com>
* gui/greeter/greeter_parser.c: Remove double-free. Fixes bug
......
......@@ -933,6 +933,14 @@ case "$host" in
XSESSION_SHELL=/bin/ksh
SOUND_PROGRAM=/usr/bin/audioplay
;;
*freebsd*)
GDM_USER_PATH="/bin:/usr/bin"
HALT_COMMAND="/sbin/shutdown -p now;/usr/sbin/shutdown -p now"
REBOOT_COMMAND="/sbin/shutdown -r now;/usr/sbin/shutdown -r now"
SUSPEND_COMMAND="/usr/sbin/zzz"
XSESSION_SHELL=/bin/sh
SOUND_PROGRAM=
;;
*)
GDM_USER_PATH="/bin:/usr/bin"
HALT_COMMAND="/usr/bin/poweroff;/sbin/poweroff;/sbin/shutdown -h now;/usr/sbin/shutdown -h now"
......
......@@ -40,6 +40,7 @@
#include <sys/types.h>
#include <sys/resource.h>
#include <sys/stat.h>
#include <sys/resource.h>
#include <signal.h>
#include <pwd.h>
#include <grp.h>
......
......@@ -31,6 +31,7 @@
#include <sys/resource.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/resource.h>
#include <strings.h>
#include <signal.h>
#include <syslog.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment