If I said 'rd.debug=1' I should get to debug the system before it dies,
right?
} >> $hookdir/emergency/01-die.sh
> /run/initramfs/.die
+ emergency_shell
exit 1
}
warn $@
source_hook "$hook"
echo
- [ -e /run/initramfs/.die ] && exit 1
if getargbool 1 rd.shell -y rdshell || getarg rd.break rdbreak; then
echo "Dropping to debug shell."
echo
# cause a kernel panic
exit 1
fi
+ [ -e /run/initramfs/.die ] && exit 1
}
# Retain the values of these variables but ensure that they are unexported