summaryrefslogtreecommitdiff
path: root/configs/default/overlay/etc/archiso/getshell
blob: a6f877515580a2dbd683b30dff66333a32b4d198 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

. /etc/archiso/functions

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

exec ${shell}