summaryrefslogtreecommitdiff
path: root/default-config/etc/archiso/getshell
blob: 41ec0c689875ccf0ad37245844cce80e35bc6148 (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}