add test for simple root on LVM
[dracut/plouj.git] / test / TEST-11-LVM / test-init
blobccdc9a4fb2c638b0028de026bd338433242fb28c
1 #!/bin/sh
2 exec >/dev/console 2>&1
3 echo "dracut-root-block-success" >/dev/sda1
4 export TERM=linux
5 export PS1='initramfs-test:\w\$ '
6 [ -f /etc/fstab ] || ln -s /proc/mounts /etc/fstab
7 stty sane
8 echo "made it to the rootfs! Powering down."
9 mount -n -o remount,ro /
10 poweroff -f