diff options
author | Frederic Lepied <flepied@mandriva.com> | 2000-05-12 14:16:49 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2000-05-12 14:16:49 +0000 |
commit | aa2286ea7323b56dbcd42e2fdc5ee98bc193bdd6 (patch) | |
tree | 2fd50ef9a91fdc29c9772f9f952a7005fd19591e /sbin | |
parent | 6b716039314a3025c2b50c95a62a7649dcace434 (diff) | |
download | common-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')
-rw-r--r-- | sbin/chksession | 4 |
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; } |