* Use sleep 1 instead of sleep 0.1 to work with busybox
(Closes: 589820).
Author: Petter Reinholdtsen <pere@debian.org>
Bug-Debian: http://bugs.debian.org/589820
--- ltsp-5.2.3.orig/client/initramfs/scripts/init-premount/udhcp
+++ ltsp-5.2.3/client/initramfs/scripts/init-premount/udhcp
@@ -54,7 +54,7 @@ bring_up_interfaces()
# TODO: Find a better way. Setting PREREQs="udev", accessing /proc/net/dev,
# calling ifconfig or ipconfig... something better than calling sleep
while ! ip link show > /dev/null 2>&1; do
- sleep 0.1
+ sleep 1
done
sleep 1
@@ -68,7 +68,7 @@ fi
for i in $interfaces; do
ip link set $i up
done
-sleep 0.1
+sleep 1
}
# Analyze whatever information was provided in the kernel command line