]> git.ipfire.org Git - thirdparty/dracut.git/blob - test/TEST-15-BTRFSRAID/test-init.sh
TEST-15-BTRFSRAID: use seperate disk image for boot result
[thirdparty/dracut.git] / test / TEST-15-BTRFSRAID / test-init.sh
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/sda
5 sync
6 export TERM=linux
7 export PS1='initramfs-test:\w\$ '
8 [ -f /etc/fstab ] || ln -s /proc/mounts /etc/fstab
9 stty sane
10 echo "made it to the rootfs! Powering down."
11 mount -n -o remount,ro /
12 poweroff -f