summaryrefslogtreecommitdiffstats
path: root/init_functions
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-02-16 21:13:35 +0100
committerThomas Bächler <thomas@archlinux.org>2010-02-16 21:13:35 +0100
commit3460ba7aaee39741b7491daaa55fc4ed70c683bd (patch)
tree0f10c210210ebc1faecbdb27a9de0b2050a4d517 /init_functions
parent9c5f5683d087aafd03bebdeb71b7d8a116c3a250 (diff)
downloadmkinitcpio-3460ba7aaee39741b7491daaa55fc4ed70c683bd.tar.gz
mkinitcpio-3460ba7aaee39741b7491daaa55fc4ed70c683bd.tar.xz
launch_interactive_shell: add "export" for PS1
Diffstat (limited to 'init_functions')
-rw-r--r--init_functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/init_functions b/init_functions
index 4ee471b..c84fa65 100644
--- a/init_functions
+++ b/init_functions
@@ -23,7 +23,7 @@ poll_device() {
}
launch_interactive_shell() {
- PS1='[ramfs \W]\$ '
+ export PS1='[ramfs \W]\$ '
[ "$1" = "--exec" ] && exec /bin/sh -i
/bin/sh -i
}