summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-01-29 19:56:50 +0100
committerThomas Bächler <thomas@archlinux.org>2010-01-29 19:56:50 +0100
commit7504fd6be397ac154ecd61ffab7b9fbafddc4a0c (patch)
tree5f4b1af0044001474456b2b15dca10702e907a6d /init
parent64f2af7521825e9171cc191c6136870cf8a81f54 (diff)
downloadmkinitcpio-7504fd6be397ac154ecd61ffab7b9fbafddc4a0c.tar.gz
mkinitcpio-7504fd6be397ac154ecd61ffab7b9fbafddc4a0c.tar.xz
Nicer shell prompt in the break/emergency shell
Diffstat (limited to 'init')
-rw-r--r--init4
1 files changed, 2 insertions, 2 deletions
diff --git a/init b/init
index 4904d12..6064f14 100644
--- a/init
+++ b/init
@@ -93,7 +93,7 @@ fi
if [ "${break}" = "y" ]; then
echo ":: Break requested, type 'exit' to resume operation"
- PS1="ramfs$ " /bin/sh -i
+ launch_interactive_shell
fi
if [ -f "/message" ]; then
@@ -145,7 +145,7 @@ if [ -z "${nfsroot}" -a "${root}" != "/dev/nfs" ]; then
echo "You are being dropped to a recovery shell"
echo " Type 'reboot' to reboot"
echo " Type 'exit' to try and continue booting"
- PS1="ramfs$ " /bin/sh -i
+ launch_interactive_shell
msg "Trying to continue (this will most likely fail) ..."
fi
fi