aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/fndSession
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2001-07-31 05:30:56 +0000
committerMystery Man <unknown@mandriva.org>2001-07-31 05:30:56 +0000
commit554855919ae7b109801c93c9f6ca212d5c0b6483 (patch)
tree62776857120c45deb3a2ac56481008fa27b17ec8 /sbin/fndSession
parent8872a532d7b144d3e2cf655db6a1644f656033b0 (diff)
downloadcommon-data-topic/Eazel.tar
common-data-topic/Eazel.tar.gz
common-data-topic/Eazel.tar.bz2
common-data-topic/Eazel.tar.xz
common-data-topic/Eazel.zip
This commit was manufactured by cvs2svn to create branch 'Eazel'.topic/Eazel
Diffstat (limited to 'sbin/fndSession')
-rwxr-xr-xsbin/fndSession18
1 files changed, 0 insertions, 18 deletions
diff --git a/sbin/fndSession b/sbin/fndSession
deleted file mode 100755
index 1f7ec8b..0000000
--- a/sbin/fndSession
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-# fndSession (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com>
-## FindSession for kdm and gdm.
-
-[ -x /usr/sbin/chksession ] || {
- echo "I can't find /usr/sbin/chksession"
- echo "check your installation"
- exit 1
-}
-
-if [ -e /usr/share/config/kdmrc ];then
-LIST="`/usr/sbin/chksession -k`" perl -pi -e 's|^SessionTypes=.*|$ENV{LIST}|'\
- /usr/share/config/kdmrc
-fi
-
-if [ -d /etc/X11/gdm/Sessions ];then
- /usr/sbin/chksession -g
-fi