--- trunk/xorg/xdm.rc 2005/07/02 17:07:55 28 +++ trunk/xorg/xdm.rc 2006/02/19 15:04:15 62 @@ -1,5 +1,5 @@ #!/bin/bash -# $Header: /root/magellan-cvs/src/xorg/xdm.rc,v 1.1 2005-07-02 17:07:55 niro Exp $ +# $Header: /root/magellan-cvs/src/xorg/xdm.rc,v 1.2 2006-02-19 15:04:15 niro Exp $ #%rlevels: 5:s 0:k 1:k 2:k 3:k 4:k 6:k #%start: 95 @@ -33,6 +33,7 @@ exit 1 fi ;; + gdm|GDM) if [[ ${XDM_OPT} = stop ]] then @@ -42,10 +43,29 @@ fi if [ ! -f "${GLOGINCMD}" ] then - echo "Failure: KDE Login Manager not found." + echo "Failure: GNOME Login Manager not found." exit 1 fi ;; + + entrance*|ENTRANCE*) + GLOGINCMD="$(which entranced 2> /dev/null)" + if [ ! -f "${GLOGINCMD}" ] + then + echo "Failure: Enlightenment Login Manager not found." + exit 1 + fi + ;; + + wdm|WDM) + GLOGINCMD="$(which wdm 2> /dev/null)" + if [ ! -f "${GLOGINCMD}" ] + then + echo "Failure: Windowmaker Login Manager not found." + exit 1 + fi + ;; + xdm|XDM) GLOGINCMD="$(which xdm 2> /dev/null)" if [ ! -f "${GLOGINCMD}" ] @@ -54,6 +74,7 @@ exit 1 fi ;; + *) GLOGINCMD="$(which ${GLOGIN} 2> /dev/null)" if [ ! -f "${GLOGINCMD}" ] @@ -61,6 +82,7 @@ echo "Failure: \"${GLOGIN}\" Login Manager not found." exit 1 fi + ;; esac }