ISO/default-config/etc/archiso/getshell

10 lines
170 B
Plaintext
Raw Normal View History

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