mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-28 10:55:18 +03:00
12 lines
289 B
Bash
Executable File
12 lines
289 B
Bash
Executable File
#!/bin/sh
|
|
exec >/dev/console 2>&1
|
|
echo "dracut-root-block-success" >/dev/sda
|
|
export TERM=linux
|
|
export PS1='initramfs-test:\w\$ '
|
|
cat /proc/mdstat
|
|
[ -f /etc/fstab ] || ln -s /proc/mounts /etc/fstab
|
|
stty sane
|
|
echo "made it to the rootfs! Powering down."
|
|
mount -n -o remount,ro /
|
|
poweroff -f
|