diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-11-22 12:05:21 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-11-22 12:05:21 +0000 |
commit | 36387e28eb6cf1f1b2542ff5bbc4d185995c8076 (patch) | |
tree | 39b9eafba4d0fa34f6ba0bbec7e28be33f41dd6b /packages/initrdscripts/files/85-blockboot.sh | |
parent | c6085182fd76b38e1f451ab61414b0bcccd10726 (diff) |
initrdscripts: Introduce boot order support for universal initramfs modules.
Diffstat (limited to 'packages/initrdscripts/files/85-blockboot.sh')
-rw-r--r-- | packages/initrdscripts/files/85-blockboot.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/initrdscripts/files/85-blockboot.sh b/packages/initrdscripts/files/85-blockboot.sh new file mode 100644 index 0000000000..567f7e29b3 --- /dev/null +++ b/packages/initrdscripts/files/85-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 |