diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index a5a3f59f..0e69793e 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 0f18b445..1eb97aab 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