diff options
author | Mike Westerhof <mwester@dls.net> | 2007-02-21 06:42:23 +0000 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2007-02-21 06:42:23 +0000 |
commit | 7a16bd778b113b30a7e6dd05fd4324c1344c36de (patch) | |
tree | 5a9e66cac0b1f65a9fb2cf6e5d7333bd8bf3eecc /packages/slugos-init/files/boot | |
parent | 26cf88c76c2e3d4e71266068ce2314af9c2c3c0d (diff) |
slugos-init: turnup disk -s<n> fixed, default delay set to 10 secs
Diffstat (limited to 'packages/slugos-init/files/boot')
-rw-r--r-- | packages/slugos-init/files/boot/disk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/slugos-init/files/boot/disk b/packages/slugos-init/files/boot/disk index ff55baa04c..a991bc50ac 100644 --- a/packages/slugos-init/files/boot/disk +++ b/packages/slugos-init/files/boot/disk @@ -21,9 +21,12 @@ then # load USB & SCSI storage modules (/proc required!) echo "boot: loading modules required for disk boot" loaddiskmods - # waiting for disk (FIXME) - sleep=6 - test "$sleep" -gt 0 && sleep "$sleep" + # waiting for disk + if test "$sleep" -gt 0 + then + echo "Waiting $sleep seconds for disk" + sleep "$sleep" + fi # # fire the boot echo "boot: rootfs: mount $* $device [$UUID]" |