diff options
author | Alex Osborne <ato@meshy.org> | 2007-07-20 13:24:07 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-07-20 13:24:07 +0000 |
commit | 4dbe593fa51cf0286431c13f78c7a769efb10ff7 (patch) | |
tree | ea0636807888ab0774020f2f71703ab482965385 /packages/initrdscripts/files | |
parent | 05f43c3791f8c270e5a8f32a19801154a9633913 (diff) |
initramfs: Add blockboot plugin and cleanup dependency handling.
Diffstat (limited to 'packages/initrdscripts/files')
-rw-r--r-- | packages/initrdscripts/files/blockboot.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/initrdscripts/files/blockboot.sh b/packages/initrdscripts/files/blockboot.sh new file mode 100644 index 0000000000..567f7e29b3 --- /dev/null +++ b/packages/initrdscripts/files/blockboot.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# Allow booting from a normal block device. + +if [ -e "$ROOT_DEVICE" ]; then + echo "booting from: $ROOT_DEVICE" + mount "$ROOT_DEVICE" /mnt + BOOT_ROOT=/mnt +fi |