summaryrefslogtreecommitdiff
path: root/default-config/etc/archiso/getshell
blob: c61c56c4e87b3b8a64f60899ad6dab31f4223106 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

. /etc/archiso/functions
shell="$(cmdline_param shell)"
[ -n "${shell}" ] && shell="/bin/bash"
[ ! -e "${shell}" ] && shell="/bin/sh"

exec ${shell}