File kdm of Package kdebase4-workspace

kdm_start_proc() {
    splashcopy 0 6
    return 0
}
    
kdm_vars() {
    KDM4_BIN=/usr/bin/kdm
    KDM_BIN=/opt/kde3/bin/kdm
    case "${DISPLAYMANAGER##*/}" in
	kdm3)
	    export KDEROOTHOME=/root/.kdm
	    DISPLAYMANAGER=$KDM_BIN
	    STARTPROC=kdm_start_proc
	    ;;
	kdm|kde|KDM|KDE)
	    export KDEROOTHOME=/root/.kdm
	    DISPLAYMANAGER=$KDM_BIN
	    if [ ! -r "$DISPLAYMANAGER" ]; then
		DISPLAYMANAGER=$KDM4_BIN
	    fi
	    STARTPROC=kdm_start_proc
	    ;;
	kdm4)
	    export KDEROOTHOME=/root/.kdm
            DISPLAYMANAGER=$KDM4_BIN
	    STARTPROC=kdm_start_proc
	    ;;
	*) return 1 ;;
    esac
    return 0
}