TEST-01-BASIC: softlink fstab to proc/mounts in test-init
parent
dd26a551c2
commit
486ec65745
|
|
@ -8,6 +8,7 @@ echo "dracut-root-block-success" >/dev/sda1
|
|||
export TERM=linux
|
||||
export PS1='initramfs-test:\w\$ '
|
||||
[ -f /etc/mtab ] || ln -sfn /proc/mounts /etc/mtab
|
||||
[ -f /etc/fstab ] || ln -sfn /proc/mounts /etc/fstab
|
||||
stty sane
|
||||
echo "made it to the rootfs!"
|
||||
strstr "$CMDLINE" "rd.shell" && sh -i
|
||||
|
|
|
|||
Loading…
Reference in New Issue