summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/boot/disk
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-09-29 10:19:15 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-09-29 10:19:15 +0000
commit289a6021a27890a78e80bd8927d2654bbf7bc9be (patch)
tree85b3314954521288ad348372d09b814609e84007 /packages/slugos-init/files/boot/disk
parent4449cfbd00ef251965535e1d53cca33f36683657 (diff)
parenta4fb8cb9e3d0de0caa21da16f9644331ccab10c3 (diff)
merge of c03b28dceb994cd2ab73b1d2bee782c3a0360eac
and de4a9ac2f220bdc6c4e7d015feb7d54b59f4cf40
Diffstat (limited to 'packages/slugos-init/files/boot/disk')
-rw-r--r--packages/slugos-init/files/boot/disk18
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/slugos-init/files/boot/disk b/packages/slugos-init/files/boot/disk
index d0b093c602..ff55baa04c 100644
--- a/packages/slugos-init/files/boot/disk
+++ b/packages/slugos-init/files/boot/disk
@@ -16,17 +16,17 @@ if test -n "$1"
then
device="$1"
shift
- echo "boot: rootfs: mount $* $device [$UUID]"
- #
- # wait if required
+ # proc is needed for UUID mount and module load
+ mount -t proc proc /proc
+ # 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"
#
- # proc is needed for UUID mount
- mount -t proc proc /proc
- #
- # load USB & SCSI storage modules (/proc required!)
- echo "boot: loading modules required for boot"
- loadusbmods
+ # fire the boot
+ echo "boot: rootfs: mount $* $device [$UUID]"
#
# Mount read-write because before exec'ing init
# If a UUID is given (in the environment) this