aboutsummaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2004-02-27 17:26:40 +0000
committerFrederic Lepied <flepied@mandriva.com>2004-02-27 17:26:40 +0000
commit4b246016db274c8d455f0d4b80c5840e36027d0c (patch)
tree11c3cc9f513177bb58d2dc464079618582ee083a /sbin
parentd62e8cde55c9f43c0ba392da16c9ead1c7bb850c (diff)
downloadcommon-data-4b246016db274c8d455f0d4b80c5840e36027d0c.tar
common-data-4b246016db274c8d455f0d4b80c5840e36027d0c.tar.gz
common-data-4b246016db274c8d455f0d4b80c5840e36027d0c.tar.bz2
common-data-4b246016db274c8d455f0d4b80c5840e36027d0c.tar.xz
common-data-4b246016db274c8d455f0d4b80c5840e36027d0c.zip
use simply chksession -k for kdm
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/fndSession5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/fndSession b/sbin/fndSession
index 68251c2..39f8c31 100755
--- a/sbin/fndSession
+++ b/sbin/fndSession
@@ -9,10 +9,9 @@
}
if [ -e /usr/share/config/kdm/kdmrc ];then
-LIST="`/usr/sbin/chksession -k`" perl -pi -e 's|^SessionTypes=.*|$ENV{LIST}|'\
- /usr/share/config/kdm/kdmrc
+ /usr/sbin/chksession -k
fi
if [ -d /etc/X11/dm/Sessions ];then
- /usr/sbin/chksession -g
+ /usr/sbin/chksession -g
fi