summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init10
1 files changed, 8 insertions, 2 deletions
diff --git a/init b/init
index 8c8709c..4173f80 100644
--- a/init
+++ b/init
@@ -74,8 +74,9 @@ if [ -e "/hooks" ]; then
done
fi
-if [ "${break}" = "y" ]; then
- echo ":: Break requested, type 'exit' to resume operation"
+# honor the old behavior of break=y as a synonym for break=premount
+if [ "${break}" = "y" ] || [ "${break}" = "premount" ]; then
+ echo ":: Pre-mount break requested, type 'exit' to resume operation"
launch_interactive_shell
fi
@@ -100,6 +101,11 @@ elif [ ! -x "/new_root${init}" ]; then
launch_interactive_shell --exec
fi
+if [ "${break}" = "postmount" ]; then
+ echo ":: Post-mount break requested, type 'exit' to resume operation"
+ launch_interactive_shell
+fi
+
# Stop udevd if is running
if [ "${udevd_running}" -eq 1 ]; then
udevadm control --exit