summaryrefslogtreecommitdiffstats
path: root/lib/network/connection.pm
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-03-31 14:48:16 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-03-31 14:48:16 +0000
commit4f92863478e39595fd8d5afdd927426367b1ccc1 (patch)
tree145c7aec77cce1affa606556d8a179255491dcb5 /lib/network/connection.pm
parent7e2bcb106c9dcfc637842342bd8aa347bc5b9dae (diff)
downloaddrakx-net-4f92863478e39595fd8d5afdd927426367b1ccc1.tar
drakx-net-4f92863478e39595fd8d5afdd927426367b1ccc1.tar.gz
drakx-net-4f92863478e39595fd8d5afdd927426367b1ccc1.tar.bz2
drakx-net-4f92863478e39595fd8d5afdd927426367b1ccc1.tar.xz
drakx-net-4f92863478e39595fd8d5afdd927426367b1ccc1.zip
Checking for connection to be up during installation.
Diffstat (limited to 'lib/network/connection.pm')
-rw-r--r--lib/network/connection.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/network/connection.pm b/lib/network/connection.pm
index aa05ab6..d059558 100644
--- a/lib/network/connection.pm
+++ b/lib/network/connection.pm
@@ -99,6 +99,8 @@ sub get_interface {
sub get_metric { 60 }
+sub get_up_timeout { 10 }
+
sub get_status {
my ($self) = @_;
require network::tools;