diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-09-06 20:45:45 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-09-06 20:45:45 -0500 |
commit | 98318ea039c39bff953c6b83010e48791ee6d286 (patch) | |
tree | b817b6594cea311c3fdfe31dabbe33d80e56a5c5 /configs/default/overlay/etc/archiso/getshell | |
parent | 8966351b12bbcf2f8fffbd8c3a4b00e7529349b8 (diff) | |
download | archiso32-98318ea039c39bff953c6b83010e48791ee6d286.tar.xz |
Rename "default-config" to "overlay"
I like difficulty and then name was annoying me
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'configs/default/overlay/etc/archiso/getshell')
-rw-r--r-- | configs/default/overlay/etc/archiso/getshell | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/default/overlay/etc/archiso/getshell b/configs/default/overlay/etc/archiso/getshell new file mode 100644 index 0000000..a6f8775 --- /dev/null +++ b/configs/default/overlay/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} |