summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initrdscripts/files')
-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"