From: Harald Hoyer Date: Thu, 7 Apr 2011 09:12:50 +0000 (+0200) Subject: init: move /.die to /run/initramfs/.die X-Git-Tag: 011~115 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03f405bc04cc5a0cde3cf4735fe766899e91c317;p=platform%2Fupstream%2Fdracut.git init: move /.die to /run/initramfs/.die --- diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index a5a3f59..0e69793 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -246,7 +246,7 @@ die() { echo "exit 1" } >> $hookdir/emergency/01-die.sh - > /.die + > /run/initramfs/.die exit 1 } diff --git a/modules.d/99base/init b/modules.d/99base/init index 0f18b44..1eb97aa 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -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