summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakgw
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-30 18:54:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-30 18:54:15 +0000
commitcedf27ad055e22462df4ac2da72e8dc0f31d39a9 (patch)
tree433767063fc639552717cca0ef9fe7d5c1a9e817 /perl-install/standalone/drakgw
parent5b72cbfda726d401844075c27cb014f38efbe948 (diff)
downloaddrakx-cedf27ad055e22462df4ac2da72e8dc0f31d39a9.tar
drakx-cedf27ad055e22462df4ac2da72e8dc0f31d39a9.tar.gz
drakx-cedf27ad055e22462df4ac2da72e8dc0f31d39a9.tar.bz2
drakx-cedf27ad055e22462df4ac2da72e8dc0f31d39a9.tar.xz
drakx-cedf27ad055e22462df4ac2da72e8dc0f31d39a9.zip
don't check *all* for test_pms_all, skip horrible stuffs
Diffstat (limited to 'perl-install/standalone/drakgw')
-rwxr-xr-xperl-install/standalone/drakgw10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index 3270f45d3..667f8870f 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -51,7 +51,7 @@ my $masq_file = "/etc/shorewall/masq";
my $dhcpd_conf = "/etc/dhcpd.conf";
my $cups_conf = "/etc/cups/cupsd.conf";
-my $shorewall = network::shorewall::read($in,'silent');
+my $shorewall = network::shorewall::read($in, 'silent');
my $in = 'interactive'->vnew('su');
$::Wizard_title = N("Internet Connection Sharing");
@@ -120,7 +120,7 @@ begin:
#- **********************************
#- * 0th step: verify if we are already set up
-if ($shorewall && (-f "/etc/shorewall/masq")) {
+if ($shorewall && -f "/etc/shorewall/masq") {
$::Wizard_no_previous = 1;
if (!$shorewall->{disabled}) {
@@ -136,7 +136,7 @@ What would you like to do?"),
stop_daemons();
}
foreach ($dhcpd_conf, $masq_file) {
- if ( -f $_ ) { rename($_, "$_.drakgwdisable") or die "Could not rename $_ to $_.drakgwdisable"};
+ if (-f $_) { rename($_, "$_.drakgwdisable") or die "Could not rename $_ to $_.drakgwdisable" };
}
sys("/etc/init.d/shorewall restart >/dev/null");
log::l("[drakgw] Disabled");
@@ -280,8 +280,8 @@ Do you want an automatic re-configuration?
You can do it manually but you need to know what you're doing.", $device),
[ { label => N("Automatic reconfiguration"), val => \$auto, list => [ N("Yes"), N("No (experts only)") ] },
{ val => N("Show current interface configuration"), clicked =>
- sub { $in-> ask_okcancel(N("Current interface configuration"),
- N("Current configuration of `%s':
+ sub { $in->ask_okcancel(N("Current interface configuration"),
+ N("Current configuration of `%s':
Network: %s
IP address: %s