summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2003-03-04 12:09:06 +0000
committerFlorin Grad <florin@mandriva.com>2003-03-04 12:09:06 +0000
commitf7b534dddfe9bf9d464c870f3b6f522f6ecd49a3 (patch)
tree2043162927d619b5f8e029b0cca5bd7877892bb4 /perl-install/standalone
parentf4d26144ed2547bff2011d37552bf86917ba0262 (diff)
downloaddrakx-f7b534dddfe9bf9d464c870f3b6f522f6ecd49a3.tar
drakx-f7b534dddfe9bf9d464c870f3b6f522f6ecd49a3.tar.gz
drakx-f7b534dddfe9bf9d464c870f3b6f522f6ecd49a3.tar.bz2
drakx-f7b534dddfe9bf9d464c870f3b6f522f6ecd49a3.tar.xz
drakx-f7b534dddfe9bf9d464c870f3b6f522f6ecd49a3.zip
simplified form (pixel)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakgw2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index d6da474c0..3a3350874 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -198,7 +198,7 @@ my @configured_devices = map { /ifcfg-(\S+)/ } glob('/etc/sysconfig/network-scri
my %aliased_devices;
/^\s*alias\s+(eth[0-9])\s+(\S+)/ and $aliased_devices{$1} = $2 foreach cat_("/etc/modules.conf");
-my $card_netconnect = network::netconnect::get_net_device() ? network::netconnect::get_net_device() : "eth0";
+my $card_netconnect = network::netconnect::get_net_device() || "eth0";
defined $card_netconnect and log::l("[drakgw] Information from netconnect: ignore card $card_netconnect");
$in->ask_from('',