summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files/85-blockboot.sh
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-02-17 03:09:06 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-02-17 03:09:06 +0000
commitd1d941876523b687b4153a5f79e0b4f6c2d7fe5e (patch)
treea45cf6bbd1a1c48c5cb77a4c664988eeea7c0b48 /packages/initrdscripts/files/85-blockboot.sh
parent71a0ef43a6bf3c9eabc5ca4b9bd62229e574015d (diff)
initramfs-uniboot: FSTYPE -> ROOT_FSTYPE, set from rootfstype= command line param.
Diffstat (limited to 'packages/initrdscripts/files/85-blockboot.sh')
-rw-r--r--packages/initrdscripts/files/85-blockboot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/initrdscripts/files/85-blockboot.sh b/packages/initrdscripts/files/85-blockboot.sh
index fee9072d3a..e1c3ed893e 100644
--- a/packages/initrdscripts/files/85-blockboot.sh
+++ b/packages/initrdscripts/files/85-blockboot.sh
@@ -4,8 +4,8 @@
if [ -e "$ROOT_DEVICE" ]; then
echo "booting from: $ROOT_DEVICE"
type=""
- if [ -n "$FSTYPE" ]; then
- type="-t $FSTYPE"
+ if [ -n "$ROOT_FSTYPE" ]; then
+ type="-t $ROOT_FSTYPE"
fi
mount $type "$ROOT_DEVICE" /mnt || fatal "Unable to mount rootfs device"
BOOT_ROOT=/mnt