diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-09-06 20:39:35 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-09-06 20:39:35 -0500 |
commit | 8966351b12bbcf2f8fffbd8c3a4b00e7529349b8 (patch) | |
tree | a54505adcbc029bce687788150df4383e5e936e0 /configs/install-iso/default-config/etc/archiso/getshell | |
parent | 99ed5349b32951fa1ec28cc2ee3caaff83fcd681 (diff) | |
download | archiso32-8966351b12bbcf2f8fffbd8c3a4b00e7529349b8.tar.xz |
Split mkarchiso and configs into logical parts
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'configs/install-iso/default-config/etc/archiso/getshell')
-rw-r--r-- | configs/install-iso/default-config/etc/archiso/getshell | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/install-iso/default-config/etc/archiso/getshell b/configs/install-iso/default-config/etc/archiso/getshell new file mode 100644 index 0000000..a6f8775 --- /dev/null +++ b/configs/install-iso/default-config/etc/archiso/getshell @@ -0,0 +1,9 @@ +#!/bin/sh + +. /etc/archiso/functions + +shell="$(cmdline_param shell)" +[ -n "${shell}" ] && shell="/bin/bash" +[ ! -e "${shell}" ] && shell="/bin/sh" + +exec ${shell} |