summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-02-06 14:47:16 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-02-06 14:47:16 +0000
commit12502daf06f9fcb189684529ede9a9dca5ba2045 (patch)
treea112214eb8e70956aaa66ec400237ce5b19d97f1
parent59156577d3e5364c26b389b977a165592312c855 (diff)
downloaddrakwizard-12502daf06f9fcb189684529ede9a9dca5ba2045.tar
drakwizard-12502daf06f9fcb189684529ede9a9dca5ba2045.tar.gz
drakwizard-12502daf06f9fcb189684529ede9a9dca5ba2045.tar.bz2
drakwizard-12502daf06f9fcb189684529ede9a9dca5ba2045.tar.xz
drakwizard-12502daf06f9fcb189684529ede9a9dca5ba2045.zip
now use check_started
-rw-r--r--nisautofs_wizard/Nisautofs.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm
index c52b778e..dd690c4b 100644
--- a/nisautofs_wizard/Nisautofs.pm
+++ b/nisautofs_wizard/Nisautofs.pm
@@ -150,6 +150,13 @@ $o->{pages} = {
end => 1,
next => 0
},
+ error_end => {
+ name => N("Failed"),
+ data => [ { label => N("Relaunch drakwizard, and try to change some parameters.") } ],
+ no_back => 1,
+ end => 1,
+ next => 0,
+ },
};
@@ -322,6 +329,7 @@ sub do_it_server {
# restart all needed services
needed_service($_) foreach qw(ypserv nfs);
undef $w;
+ check_started($_) foreach qw(ypserv nfsd);
}
sub do_it_client {
@@ -339,6 +347,7 @@ sub do_it_client {
update_network();
needed_service($_) foreach qw(ypbind autofs);
undef $w;
+ check_started($_) foreach qw(ypbind autofs);
}
sub new {