summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-01-21 10:41:49 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-01-21 10:41:49 +0000
commitdf90887911dcd9e15a5ae8c20533a33f055980f1 (patch)
tree4b43ace23ace837c5cc4474d1970d9f14897410e
parent2e45166018b0e4609ead3c1f5504fe66d0e363c9 (diff)
downloaddrakwizard-df90887911dcd9e15a5ae8c20533a33f055980f1.tar
drakwizard-df90887911dcd9e15a5ae8c20533a33f055980f1.tar.gz
drakwizard-df90887911dcd9e15a5ae8c20533a33f055980f1.tar.bz2
drakwizard-df90887911dcd9e15a5ae8c20533a33f055980f1.tar.xz
drakwizard-df90887911dcd9e15a5ae8c20533a33f055980f1.zip
now use var in $o->{}
-rw-r--r--nisautofs_wizard/Nisautofs.pm13
1 files changed, 7 insertions, 6 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm
index 7d9b1fc9..a3052eab 100644
--- a/nisautofs_wizard/Nisautofs.pm
+++ b/nisautofs_wizard/Nisautofs.pm
@@ -49,12 +49,12 @@ my $o = {
var => {
NISDOMAIN => chomp_($NISDOMAIN),
NISSERVER => chomp_($HOST),
- NIS_DIRMAKEFILE => "/var/yp/",
- HOMENIS => "/home/nis",
- NETWORKFILE => "/etc/sysconfg/network",
- NFSEXPORTS => "/etc/exports",
- AUTOMASTER => "/etc/auto.master",
- AUTOHOME => "/etc/auto.home",
+ NIS_DIRMAKEFILE => $NIS_DIRMAKEFILE,
+ HOMENIS => $HOMENIS,
+ NETWORKFILE => $NETWORKFILE,
+ NFSEXPORTS => $NFSEXPORTS,
+ AUTOMASTER => $AUTOMASTER,
+ AUTOHOME => $AUTOHOME,
},
needed_rpm => [ 'ypbind', 'nfs-utils', 'yp-tools', 'nfs-utils-clients' ],
defaultimage => "/usr/share/wizards/dns_wizard/images/NIS.png",
@@ -176,6 +176,7 @@ sub set_nisdomain {
sub nfs_home_nis {
# test directory
+ $HOMENIS = $o->{var}{HOMENIS};
if (-d $HOMENIS) {
print " - $HOMENIS directory exist\n";
} else {