aboutsummaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
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