diff options
-rw-r--r-- | nisautofs_wizard/Nisautofs.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm index 9d2023c3..137c2c55 100644 --- a/nisautofs_wizard/Nisautofs.pm +++ b/nisautofs_wizard/Nisautofs.pm @@ -346,6 +346,10 @@ sub do_it_client { update_yp(chomp_($o->{var}{NISDOMAIN}), chomp_($o->{var}{NISSERVER})); # update conf file update_network(); + # update nsswitch.conf + Substinfile { + s|automount:.*|automount: files nisplus nis|; + } "/etc/nsswitch.conf"; needed_service($_) foreach qw(ypbind autofs); undef $w; check_started($_) foreach qw(ypbind autofs); |