init: move /.die to /run/initramfs/.die

master
Harald Hoyer 2011-04-07 11:12:50 +02:00
parent 4abb498d79
commit 03f405bc04
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ die() {
echo "exit 1"
} >> $hookdir/emergency/01-die.sh

> /.die
> /run/initramfs/.die
exit 1
}


View File

@ -52,7 +52,7 @@ emergency_shell()
source_hook emergency
echo
wait_for_loginit
[ -e /.die ] && exit 1
[ -e /run/initramfs/.die ] && exit 1
if getargbool 1 rd.shell -y rdshell || getarg rd.break rdbreak; then
echo "Dropping to debug shell."
echo