summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-09 01:04:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-09 01:04:28 +0000
commit9e5efdfd5b56192ea85894879f3d24b3cc4b3358 (patch)
tree7b6266013d8107f196f4ed5b5aa1da48598bf80d /perl-install/standalone
parent3c2d0b1ddf0e82911aceb0a1bd3c3e31c2ad8eb0 (diff)
downloaddrakx-backup-do-not-use-9e5efdfd5b56192ea85894879f3d24b3cc4b3358.tar
drakx-backup-do-not-use-9e5efdfd5b56192ea85894879f3d24b3cc4b3358.tar.gz
drakx-backup-do-not-use-9e5efdfd5b56192ea85894879f3d24b3cc4b3358.tar.bz2
drakx-backup-do-not-use-9e5efdfd5b56192ea85894879f3d24b3cc4b3358.tar.xz
drakx-backup-do-not-use-9e5efdfd5b56192ea85894879f3d24b3cc4b3358.zip
(checkNetwork) do not die when gateway canot be guessed (Joe Bolin
<sopwithcamel@charter.net>) else the applet dies never to be heard from again until the next login b/c with DHCP connections, the gateway information is lost when the network is manually brought down. Indeed gateway is not needed for direct connection through crossover cable.
Diffstat (limited to 'perl-install/standalone')
-rw-r--r--perl-install/standalone/net_applet2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 173aa8e1c..3ed171489 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -103,8 +103,6 @@ sub checkNetwork() {
($addrgd, $gd) = `/sbin/ip route show` =~ /^default\s+via\s+(\S+).*\s+dev\s+(\S+)/m;
}
- $gd or die "No Gatewaydev defined";
-
if ($addrgd) {
go2State('connected', $gd)
} else { go2State('disconnected', '') }