aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/chksession
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2000-05-12 14:16:49 +0000
committerFrederic Lepied <flepied@mandriva.com>2000-05-12 14:16:49 +0000
commitaa2286ea7323b56dbcd42e2fdc5ee98bc193bdd6 (patch)
tree2fd50ef9a91fdc29c9772f9f952a7005fd19591e /sbin/chksession
parent6b716039314a3025c2b50c95a62a7649dcace434 (diff)
downloadcommon-data-aa2286ea7323b56dbcd42e2fdc5ee98bc193bdd6.tar
common-data-aa2286ea7323b56dbcd42e2fdc5ee98bc193bdd6.tar.gz
common-data-aa2286ea7323b56dbcd42e2fdc5ee98bc193bdd6.tar.bz2
common-data-aa2286ea7323b56dbcd42e2fdc5ee98bc193bdd6.tar.xz
common-data-aa2286ea7323b56dbcd42e2fdc5ee98bc193bdd6.zip
* use /etc/X11/Xsession for gnome sessions.
Diffstat (limited to 'sbin/chksession')
-rw-r--r--sbin/chksession4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/chksession b/sbin/chksession
index db3bdd4..77a067d 100644
--- a/sbin/chksession
+++ b/sbin/chksession
@@ -108,8 +108,8 @@ if ($gdm) {
for my $file (@lf) {
open FH, ">/etc/X11/gdm/Sessions/$file" or die "Can't write to /etc/X11/gdm/Sessions/$file\n";
- print FH "#!/bin/sh";
- print FH $script{$file};
+ print FH "#!/bin/sh\n";
+ print FH "exec /etc/X11/Xsession $file\n";
close FH;
chmod 0755, $file;
}