From: Harald Hoyer Date: Fri, 8 Apr 2011 10:45:25 +0000 (+0200) Subject: TEST-01-BASIC: softlink fstab to proc/mounts in test-init X-Git-Tag: 011~118 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=486ec65745f5da361b104bb2ee94fb47ceed4d07;p=thirdparty%2Fdracut.git TEST-01-BASIC: softlink fstab to proc/mounts in test-init --- diff --git a/test/TEST-01-BASIC/test-init b/test/TEST-01-BASIC/test-init index efd16e78b..fd03aa5cf 100755 --- a/test/TEST-01-BASIC/test-init +++ b/test/TEST-01-BASIC/test-init @@ -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