summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakgw
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-12 06:22:57 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-12 06:22:57 +0000
commit8b69ded95763367d2a6eae5ff121b22931ceab69 (patch)
treee5338619aabd8f9f43efd99329c97dc9625b7932 /perl-install/standalone/drakgw
parent79ec048c3ea13fed0bdeeb6d33c40cb23acc2d45 (diff)
downloaddrakx-8b69ded95763367d2a6eae5ff121b22931ceab69.tar
drakx-8b69ded95763367d2a6eae5ff121b22931ceab69.tar.gz
drakx-8b69ded95763367d2a6eae5ff121b22931ceab69.tar.bz2
drakx-8b69ded95763367d2a6eae5ff121b22931ceab69.tar.xz
drakx-8b69ded95763367d2a6eae5ff121b22931ceab69.zip
move wait message after package installation (or else the interface
isn't active)
Diffstat (limited to 'perl-install/standalone/drakgw')
-rwxr-xr-xperl-install/standalone/drakgw6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index 319e3c457..c5452c310 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -390,14 +390,14 @@ sub gw_configure() {
N("Warning! An existing firewalling configuration has been detected. You may need some manual fixes after installation."));
}
- my $_wait_configuring = $in->wait_message(N("Configuring..."),
- N("Configuring scripts, installing software, starting servers..."));
-
unless ($in->do_pkgs->ensure_is_installed('shorewall', '/sbin/shorewall')) {
$in->ask_warn(N("Error"), N("Could not install the %s package!", 'shorewall'));
$in->exit(-1);
}
+ my $_wait_configuring = $in->wait_message(N("Configuring..."),
+ N("Configuring firewall..."));
+
$shorewall->{masq_subnet} = "$lan_intf->{NETWORK}/$lan_intf->{NETMASK}";
network::shorewall::write($shorewall);