summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdebase/suse-displaymanagers-tdm
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdebase/suse-displaymanagers-tdm')
-rw-r--r--redhat/main/tdebase/suse-displaymanagers-tdm26
1 files changed, 26 insertions, 0 deletions
diff --git a/redhat/main/tdebase/suse-displaymanagers-tdm b/redhat/main/tdebase/suse-displaymanagers-tdm
new file mode 100644
index 000000000..5bf0eb4ef
--- /dev/null
+++ b/redhat/main/tdebase/suse-displaymanagers-tdm
@@ -0,0 +1,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
+}
+