summaryrefslogtreecommitdiffstats
path: root/rescue
ModeNameSize
-rw-r--r--.cvsignore11logstatsplain
-rw-r--r--Makefile261
Diffstat (limited to 'nfs_wizard')
-rwxr-xr-xnfs_wizard/NFS.pm23
1 files changed, 16 insertions, 7 deletions
diff --git a/nfs_wizard/NFS.pm b/nfs_wizard/NFS.pm
index e40ad943..80b94ce6 100755
--- a/nfs_wizard/NFS.pm
+++ b/nfs_wizard/NFS.pm
@@ -98,12 +98,20 @@ $o->{pages} = {
post => \&do_it,
next => 'end'
},
- end => {
- name => N("Congratulations") . "\n\n" . N("The wizard successfully configured your NFS Server"),
- end => 1,
- next => 0
-},
-};
+ end => {
+ name => N("Congratulations") . "\n\n" . N("The wizard successfully configured your NFS Server"),
+ 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,
+ },
+
+ };
sub new {
my ($class) = @_;
@@ -151,7 +159,8 @@ sub do_it {
substInFile { s|^(?!#).*$o->{var}{wiz_nfs_dir}\s.*|#$&| } $file;
append_to_file($file, $line);
system("/usr/sbin/exportfs -a");
- services::start('nfs') if services::is_service_running('nfs')
+ services::start('nfs') if services::is_service_running('nfs');
+ check_started('nfsd');
}
1;
>logstatsplain
-rw-r--r--list.xml3776logstatsplain
-rwxr-xr-xlsparts1272logstatsplain
-rwxr-xr-xmake_partimage_save_rest_all1594logstatsplain
-rwxr-xr-xmake_rescue_img3367logstatsplain
-rwxr-xr-xpartimage_whole_disk6811logstatsplain
-rwxr-xr-xrescue-doc2278logstatsplain
-rwxr-xr-xrestore_ms_boot1976logstatsplain
d---------tree121logstatsplain