diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-02-06 12:12:00 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-02-06 12:12:00 +0000 |
commit | 2b8d4b9ebf8449d474ffde8ae3d88fa1e6e9008a (patch) | |
tree | 2cfcdcc0b2a6d18a3447edcc399ec2e96d83eb72 /ftp_wizard/Proftpd.pm | |
parent | ef5bca3fd5db1c42ad91b3eb36e7ff91d0a8571b (diff) | |
download | drakwizard-2b8d4b9ebf8449d474ffde8ae3d88fa1e6e9008a.tar drakwizard-2b8d4b9ebf8449d474ffde8ae3d88fa1e6e9008a.tar.gz drakwizard-2b8d4b9ebf8449d474ffde8ae3d88fa1e6e9008a.tar.bz2 drakwizard-2b8d4b9ebf8449d474ffde8ae3d88fa1e6e9008a.tar.xz drakwizard-2b8d4b9ebf8449d474ffde8ae3d88fa1e6e9008a.zip |
now use check_started
Diffstat (limited to 'ftp_wizard/Proftpd.pm')
-rwxr-xr-x | ftp_wizard/Proftpd.pm | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/ftp_wizard/Proftpd.pm b/ftp_wizard/Proftpd.pm index adcc505f..aa4bc66c 100755 --- a/ftp_wizard/Proftpd.pm +++ b/ftp_wizard/Proftpd.pm @@ -26,7 +26,7 @@ use strict; use common; use services; -require MDK::Wizard::Wizcommon; +use MDK::Wizard::Wizcommon; my $wiz = MDK::Wizard::Wizcommon->new; @@ -145,12 +145,19 @@ needed to configure your FTP Server") . "\n\n" . N("To accept these values, and post => \&do_it, next => 'end' }, - end => { - name => N("Congratulations") . "\n\n" . N("The wizard successfully configured your Intranet/Internet FTP Server"), - end => 1, - no_back => 1, - next => 0 - }, + end => { + name => N("Congratulations") . "\n\n" . N("The wizard successfully configured your Intranet/Internet FTP Server"), + end => 1, + no_back => 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 { @@ -318,6 +325,7 @@ sub do_it { } else { services::start('proftpd') } + check_started('proftpd'); } 1; |