diff options
author | damien <damien@mandriva.com> | 2001-09-14 15:06:10 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-09-14 15:06:10 +0000 |
commit | d2d2f8b7361ec4d909ce3e466ec1705f37d7eb76 (patch) | |
tree | ec8b681a433c92f40a757c78759c5b9eeddbeb1e | |
parent | 398331f6c77b4dfbe90196bf8ecc4e6df9129ff2 (diff) | |
download | drakx-d2d2f8b7361ec4d909ce3e466ec1705f37d7eb76.tar drakx-d2d2f8b7361ec4d909ce3e466ec1705f37d7eb76.tar.gz drakx-d2d2f8b7361ec4d909ce3e466ec1705f37d7eb76.tar.bz2 drakx-d2d2f8b7361ec4d909ce3e466ec1705f37d7eb76.tar.xz drakx-d2d2f8b7361ec4d909ce3e466ec1705f37d7eb76.zip |
iautologin correction
-rw-r--r-- | perl-install/bootlook.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/bootlook.pm b/perl-install/bootlook.pm index 2781c29a2..cbad70b79 100644 --- a/perl-install/bootlook.pm +++ b/perl-install/bootlook.pm @@ -279,7 +279,8 @@ sub isAutologin { $line =~ s/AUTOLOGIN=(yes|no)/$1/; chomp ($line); $line = ($line eq "yes"); - return ($line); + my %au = get_autologin(''); + return ($line && $au{autologin} && $au{desktop}); } sub get_autologin { |