summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2010-06-18 11:14:14 +0200
committermaximilian attems <maks@debian.org>2010-06-18 11:43:37 +0200
commit6147641d9129db51421ef0706972e21ceb36c801 (patch)
treedbb9f9d4d17e125186184e653d53dcc8772c4cb2 /scripts
parent1d66ae1f03358b221d67aaf65fbda0ff3c6071fc (diff)
downloadinitramfs-tools-6147641d9129db51421ef0706972e21ceb36c801.tar.gz
initramfs-tools-6147641d9129db51421ef0706972e21ceb36c801.zip
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 <maks@debian.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nfs7
1 files changed, 1 insertions, 6 deletions
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