From 6147641d9129db51421ef0706972e21ceb36c801 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Fri, 18 Jun 2010 11:14:14 +0200 Subject: nfsmount: more small cleanups code up the nfs rootdelay in a more efficient way. here people need the time it takes, so stay on 180s. Signed-off-by: maximilian attems --- scripts/nfs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'scripts/nfs') diff --git a/scripts/nfs b/scripts/nfs index 02b3830..6fa0c43 100644 --- a/scripts/nfs +++ b/scripts/nfs @@ -62,12 +62,7 @@ mountroot() wait_for_udev 10 # Default delay is around 180s - # FIXME: add usplash_write info - if [ -z "${ROOTDELAY}" ]; then - delay=180 - else - delay=${ROOTDELAY} - fi + delay=${ROOTDELAY:-180} # loop until nfsmount succeeds do_nfsmount -- cgit v1.2.3