summaryrefslogtreecommitdiffstats
path: root/perl-install/authentication.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-06-12 18:38:40 +0000
committerOlivier Blin <oblin@mandriva.com>2008-06-12 18:38:40 +0000
commitd3087a4a6fc47de6f0e3a14794774c5a355961b2 (patch)
treeb1b49350fb603ded92d4119eb3a1af76e466b3af /perl-install/authentication.pm
parent98a62c6746cfcaaa36b81035056fabc72aa74d23 (diff)
downloaddrakx-d3087a4a6fc47de6f0e3a14794774c5a355961b2.tar
drakx-d3087a4a6fc47de6f0e3a14794774c5a355961b2.tar.gz
drakx-d3087a4a6fc47de6f0e3a14794774c5a355961b2.tar.bz2
drakx-d3087a4a6fc47de6f0e3a14794774c5a355961b2.tar.xz
drakx-d3087a4a6fc47de6f0e3a14794774c5a355961b2.zip
fix authentication configuration during install
Diffstat (limited to 'perl-install/authentication.pm')
-rw-r--r--perl-install/authentication.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/authentication.pm b/perl-install/authentication.pm
index 823eb7682..cdffd02ea 100644
--- a/perl-install/authentication.pm
+++ b/perl-install/authentication.pm
@@ -2,7 +2,6 @@ package authentication; # $Id$
use common;
my $ccreds = 1;
-my $conf_file = "/etc/sysconfig/drakauth";
$::real_windowwidth = 700;
$::real_windowheight = 600;
@@ -302,6 +301,7 @@ sub set {
sub set_raw {
my ($net, $authentication, $o_when_network_is_up) = @_;
+ my $conf_file = "$::prefix/etc/sysconfig/drakauth";
my $when_network_is_up = $o_when_network_is_up || sub { my ($f) = @_; $f->() };
enable_shadow() if $authentication->{shadow};