Browse Source

Updated test-init to only create fstab symlink as needed.

master
Victor Lowther 16 years ago
parent
commit
6ce3123192
  1. 4
      test/test-init

4
test/test-init

@ -2,11 +2,11 @@ @@ -2,11 +2,11 @@
exec >/dev/console 2>&1
export TERM=linux
export PS1='initramfs-test:\w\$ '
ln -s /proc/mounts /etc/fstab
[ -f /etc/fstab ] || ln -s /proc/mounts /etc/fstab
stty sane
echo "made it to the rootfs!"
echo 3 >/proc/sys/vm/drop_caches
free
sh -i
mount -o remount,ro /
mount -n -o remount,ro /
poweroff -f
Loading…
Cancel
Save