diff options
Diffstat (limited to 'init_functions')
-rw-r--r-- | init_functions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/init_functions b/init_functions index c0f10e9..72bf6ae 100644 --- a/init_functions +++ b/init_functions @@ -23,5 +23,7 @@ poll_device() { } launch_interactive_shell() { - PS1='[ramfs \W]\$ ' /bin/sh -i + PS1='[ramfs \W]\$ ' + [ "$1" = "--exec" ] && exec /bin/sh -i + /bin/sh -i } |