summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files/85-blockboot.sh
blob: 567f7e29b37a73383fa0ba4922f8029fe7fdf748 (plain)
1
2
3
4
5
6
7
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