diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-01-21 10:41:49 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-01-21 10:41:49 +0000 |
commit | df90887911dcd9e15a5ae8c20533a33f055980f1 (patch) | |
tree | 4b43ace23ace837c5cc4474d1970d9f14897410e /nisautofs_wizard/Nisautofs.pm | |
parent | 2e45166018b0e4609ead3c1f5504fe66d0e363c9 (diff) | |
download | drakwizard-df90887911dcd9e15a5ae8c20533a33f055980f1.tar drakwizard-df90887911dcd9e15a5ae8c20533a33f055980f1.tar.gz drakwizard-df90887911dcd9e15a5ae8c20533a33f055980f1.tar.bz2 drakwizard-df90887911dcd9e15a5ae8c20533a33f055980f1.tar.xz drakwizard-df90887911dcd9e15a5ae8c20533a33f055980f1.zip |
now use var in $o->{}
Diffstat (limited to 'nisautofs_wizard/Nisautofs.pm')
-rw-r--r-- | nisautofs_wizard/Nisautofs.pm | 13 |
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 { |