Browse Source

Rene Rebe:


			
			
				rocklinux
			
			
		
Rene Rebe 22 years ago
parent
commit
fbbd79375d
1 changed files with 6 additions and 9 deletions
  1. +6
    -9
      package/x11/xfree86/startxdm.sh

+ 6
- 9
package/x11/xfree86/startxdm.sh

@ -4,15 +4,12 @@ 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
[ "$1" = "-nodeamon" ] && case $XDM in
gdm*) ;;
kdm*) ;;
xdm*) ;;
*) shift ;;
esac
$XDM "$@"

Loading…
Cancel
Save