99base/init: remove /dev/root helper symlink

Any tool relying on /dev/root has to be fixed.
master
Harald Hoyer 2011-09-19 12:20:55 +02:00
parent e41e5b78c6
commit 6d82a0470e
1 changed files with 3 additions and 0 deletions

View File

@ -434,6 +434,9 @@ fi

wait_for_loginit

# remove helper symlink
[ -h /dev/root ] && rm -f /dev/root

getarg rd.break rdbreak && emergency_shell -n switch_root "Break before switch_root"
info "Switching root"