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.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm
index b1f6f9d8..f237853e 100644
--- a/nisautofs_wizard/Nisautofs.pm
+++ b/nisautofs_wizard/Nisautofs.pm
@@ -57,7 +57,7 @@ my $o = {
AUTOMASTER => $AUTOMASTER,
AUTOHOME => $AUTOHOME,
},
- needed_rpm => [ 'ypbind', 'nfs-utils', 'yp-tools', 'nfs-utils-clients', 'autofs' ],
+ needed_rpm => [ 'ypbind', 'nfs-utils', 'yp-tools', 'nfs-utils-clients' ],
defaultimage => "$ENV{__WIZ_HOME__}/nisautofs_wizard/images/nisautofs.png",
init => sub {
if (member($NISDOMAIN, qw(localdomain (none)))) {
@@ -309,7 +309,7 @@ sub do_it_server {
my $in = 'interactive'->vnew('su', 'nisautofsconfig');
my $w = $in->wait_message(N("NIS with Autofs map"), N("Configuring your system to be a NIS server with Autofs map..."));
# system("urpme --auto autofs") if (system("/bin/rpm -q autofs >/dev/null"));
-# uninstall_rpm('autofs');
+ uninstall_rpm('autofs');
system("urpmi --auto ypserv");
needed_service('ypserv');
# configure autofs to fit nis
@@ -338,7 +338,7 @@ sub do_it_client {
my $in = 'interactive'->vnew('su', 'nisautofsclient');
my $w = $in->wait_message(N("NIS client"), N("Configuring your system as NIS client ..."));
uninstall_rpm('ypserv');
- # system("urpmi --auto autofs");
+ system("urpmi --auto autofs");
test_autofile();
# set correct nis
set_nisdomain();