summaryrefslogtreecommitdiffstats
path: root/redhat/core/tdebase/suse-displaymanagers-tdm
blob: 5bf0eb4ef05991fc3931f2132bca91fa1c498964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
tdm_start_proc() {
    splashcopy 0 6
    # stop plymouth (bug#775548)
    plymouth_quit

    return 0
}

tdm_vars() {
    if [ -x /opt/trinity/bin/kdm ]; then
      TDM_BIN=/opt/trinity/bin/kdm
      export KDEROOTHOME=/root/.tdm
    else
      TDM_BIN=/opt/trinity/bin/tdm
      export TDEROOTHOME=/root/.tdm
    fi
    case "${DISPLAYMANAGER##*/}" in
       tdm)
            DISPLAYMANAGER=$TDM_BIN
            STARTPROC=tdm_start_proc
            ;;
        *) return 1 ;;
    esac
    return 0
}