From 24db8cd534091a85a26472b80fd0f2eb613c7be4 Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Mon, 2 Jul 2007 17:05:02 +0000 Subject: SlugOS init files: fixed network boot code for dsmg600 and added delay to ifup (fix dhcp timeout before link negotiation complete) for network boot. Added kexec boot script (no turnup support yet, manual only). --- packages/slugos-init/files/functions | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/slugos-init/files/functions') diff --git a/packages/slugos-init/files/functions b/packages/slugos-init/files/functions index c329171128..18f4009ee7 100644 --- a/packages/slugos-init/files/functions +++ b/packages/slugos-init/files/functions @@ -274,6 +274,8 @@ ifup(){ if test "$(config boot)" != static then test -n "$hostname" && HOSTNAME="-H $hostname" + # Pause a moment in case link negotiation takes a while + sleep 3 # The script writes the required shell variable assignments # to file descriptor 9 eval $(udhcpc -i "$iface" -n -q -r "$ip" $HOSTNAME -s /boot/udhcpc.script 9>&1 >/dev/null) -- cgit v1.2.3