Merge pull request #68 from dracut-mailing-devs/1431698021-16626-3-git-send-email...
[dracut.git] / test / TEST-15-BTRFSRAID / test-init.sh
blob8f7cdf3a93d266b474b384fbd9be84de06f0b52a
1 #!/bin/sh
2 export PATH=/sbin:/bin:/usr/sbin:/usr/bin
3 exec >/dev/console 2>&1
4 echo "dracut-root-block-success" >/dev/sda1
5 export TERM=linux
6 export PS1='initramfs-test:\w\$ '
7 [ -f /etc/fstab ] || ln -s /proc/mounts /etc/fstab
8 stty sane
9 echo "made it to the rootfs! Powering down."
10 mount -n -o remount,ro /
11 poweroff -f