diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-01-29 19:56:50 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-01-29 19:56:50 +0100 |
commit | 7504fd6be397ac154ecd61ffab7b9fbafddc4a0c (patch) | |
tree | 5f4b1af0044001474456b2b15dca10702e907a6d /init_functions | |
parent | 64f2af7521825e9171cc191c6136870cf8a81f54 (diff) | |
download | mkinitcpio-7504fd6be397ac154ecd61ffab7b9fbafddc4a0c.tar.gz mkinitcpio-7504fd6be397ac154ecd61ffab7b9fbafddc4a0c.tar.xz |
Nicer shell prompt in the break/emergency shell
Diffstat (limited to 'init_functions')
-rw-r--r-- | init_functions | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init_functions b/init_functions index 968258a..2692a2a 100644 --- a/init_functions +++ b/init_functions @@ -21,3 +21,7 @@ poll_device() { done [ -b "${device}" -o -h "${device}" ] } + +launch_interactive_shell() { + PS1='[ramfs \W]\$ ' /bin/sh -i +} |