diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-02-06 15:09:06 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-02-06 15:09:06 +0000 |
commit | e6792ed6adcb6858b1c79b93a9ad092e4862131c (patch) | |
tree | e623c17d4f238400174a55615a72234d963d0d6e /proxy_wizard | |
parent | 12502daf06f9fcb189684529ede9a9dca5ba2045 (diff) | |
download | drakwizard-e6792ed6adcb6858b1c79b93a9ad092e4862131c.tar drakwizard-e6792ed6adcb6858b1c79b93a9ad092e4862131c.tar.gz drakwizard-e6792ed6adcb6858b1c79b93a9ad092e4862131c.tar.bz2 drakwizard-e6792ed6adcb6858b1c79b93a9ad092e4862131c.tar.xz drakwizard-e6792ed6adcb6858b1c79b93a9ad092e4862131c.zip |
now use check_started
Diffstat (limited to 'proxy_wizard')
-rwxr-xr-x | proxy_wizard/Squid.pm | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm index ae8254cb..e2687b33 100755 --- a/proxy_wizard/Squid.pm +++ b/proxy_wizard/Squid.pm @@ -26,7 +26,7 @@ use strict; use common; use services; -require MDK::Wizard::Wizcommon; +use MDK::Wizard::Wizcommon; my $wiz = new MDK::Wizard::Wizcommon; my $df = -d '/var/spool/squid' ? `/bin/df -m /var/spool/squid` : `/bin/df -m /var/spool`; @@ -172,7 +172,15 @@ $o->{pages} = { name => N("Congratulations") . N("The wizard have successfully configured your proxy 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 { @@ -273,5 +281,6 @@ level = $o->{var}{wiz_squid_level}"); services::start('squid') } undef $w; + check_started('squid'); } 1; |