summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files/80-nfsboot.sh
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-25 20:26:40 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-25 20:26:40 +0000
commite5d9b3e9d7010e8298b5143ff5f8f78f76472eb1 (patch)
treed6c2cc641c5dd5100a7acc6b8a8128f36ba4c096 /packages/initrdscripts/files/80-nfsboot.sh
parent37820a3964f1468cf12fad6817f1bd6947506b3c (diff)
initramfs-module-nfs: Fix packaging, add delay after g_ether load.
Diffstat (limited to 'packages/initrdscripts/files/80-nfsboot.sh')
-rw-r--r--packages/initrdscripts/files/80-nfsboot.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/initrdscripts/files/80-nfsboot.sh b/packages/initrdscripts/files/80-nfsboot.sh
index 5129a53ebb..e1588c16a8 100644
--- a/packages/initrdscripts/files/80-nfsboot.sh
+++ b/packages/initrdscripts/files/80-nfsboot.sh
@@ -31,10 +31,12 @@ if [ "$ROOT_DEVICE" = "/dev/nfs" ]; then
usb*)
echo "USB"
modprobe g_ether
+ sleep 5
;;
esac
ifconfig $device $client_ip
+ ping -c 2 $server_ip
)
echo "booting from NFS: $nfsroot"