summaryrefslogtreecommitdiffstats
path: root/nisautofs_wizard/Nisautofs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'nisautofs_wizard/Nisautofs.pm')
-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 {