summaryrefslogtreecommitdiff
path: root/default-config/etc/archiso/getshell
diff options
context:
space:
mode:
Diffstat (limited to 'default-config/etc/archiso/getshell')
-rw-r--r--default-config/etc/archiso/getshell1
1 files changed, 1 insertions, 0 deletions
diff --git a/default-config/etc/archiso/getshell b/default-config/etc/archiso/getshell
index c61c56c..41ec0c6 100644
--- a/default-config/etc/archiso/getshell
+++ b/default-config/etc/archiso/getshell
@@ -1,6 +1,7 @@
#!/bin/sh
. /etc/archiso/functions
+
shell="$(cmdline_param shell)"
[ -n "${shell}" ] && shell="/bin/bash"
[ ! -e "${shell}" ] && shell="/bin/sh"