ISO/default-config/etc/archiso/getshell
Aaron Griffin 9b271cc997 Corrected DOS newlines... whoops
git-svn-id: http://phraktured.net/archiso@16 00a9fe69-e71b-0410-bb23-df0e5024db41
2006-09-29 06:47:54 +00:00

10 lines
161 B
Bash

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