diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-09-07 07:53:11 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-09-07 07:53:11 +0000 |
commit | 3d602514ce1c3a9c8bf5baadd1371ff4121a42fb (patch) | |
tree | 82ae38667084629d3324eef579aec9216db8b310 /nisautofs_wizard | |
parent | 9f589d44f15005f87690e578693d87b90308d5a2 (diff) | |
download | drakwizard-3d602514ce1c3a9c8bf5baadd1371ff4121a42fb.tar drakwizard-3d602514ce1c3a9c8bf5baadd1371ff4121a42fb.tar.gz drakwizard-3d602514ce1c3a9c8bf5baadd1371ff4121a42fb.tar.bz2 drakwizard-3d602514ce1c3a9c8bf5baadd1371ff4121a42fb.tar.xz drakwizard-3d602514ce1c3a9c8bf5baadd1371ff4121a42fb.zip |
fix pb of nsswitch.conf file
Diffstat (limited to 'nisautofs_wizard')
-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); |