]> git.ipfire.org Git - thirdparty/dracut.git/blob - test/TEST-15-BTRFSRAID/test-init.sh
Renamed all shell scripts to *.sh
[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/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