mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
232 B

#!/bin/sh
XDM=/usr/X11/bin/xdm
[ -e /etc/conf/xdm ] && . /etc/conf/xdm
function check_dm() {
echo $XDM | grep -q $1
}
if [ "$1" = "-nodaemon" ] &&
! check_dm gdm && ! check_dm kdm && ! check_dm xdm
then
shift
fi
$XDM "$@"