summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2009-01-07 15:12:05 +0100
committermaximilian attems <maks@debian.org>2009-01-07 15:14:37 +0100
commit9c3ec61b1a5e2feaa8d9c6de737eaa00eb446a9c (patch)
tree0e51c3522b6c175baf45ae9b7af85003fbd16aaf /scripts
parent15dea23a41c24c07c2ea36deb49c8cbf478bb32b (diff)
downloadinitramfs-tools-9c3ec61b1a5e2feaa8d9c6de737eaa00eb446a9c.tar.gz
initramfs-tools-9c3ec61b1a5e2feaa8d9c6de737eaa00eb446a9c.zip
configure_networking: Raise ipconfig timeout to 180 seconds.
in 0.92m, the timeout for ipconfig in scripts/functions was set to 60 seconds. This broke our iscsi-rootfs setups. It took me a while to debug this, but it seems that 60 seconds is not enough for switches which have spanning-tree enabled, they need some more time before they take up a port, in our case between 62 and 65 seconds. (closes: #511085)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/functions b/scripts/functions
index ca2b831..f715e68 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -269,13 +269,13 @@ configure_networking()
;;
""|on|any)
# Bring up device
- ipconfig -t 60 ${DEVICE}
+ ipconfig -t 180 ${DEVICE}
;;
dhcp|bootp|rarp|both)
- ipconfig -t 60 -c ${IPOPTS} -d ${DEVICE}
+ ipconfig -t 180 -c ${IPOPTS} -d ${DEVICE}
;;
*)
- ipconfig -t 60 -d $IPOPTS
+ ipconfig -t 180 -d $IPOPTS
# grab device entry from ip option
NEW_DEVICE=${IPOPTS#*:*:*:*:*:*}