From 676782bc3af8d266b67bbc35b7d791cd8c703aee Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 30 Aug 2006 05:32:35 +0000 Subject: Initial import git-svn-id: http://phraktured.net/archiso@1 00a9fe69-e71b-0410-bb23-df0e5024db41 --- default-config/etc/archiso/getshell | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 default-config/etc/archiso/getshell (limited to 'default-config/etc/archiso') diff --git a/default-config/etc/archiso/getshell b/default-config/etc/archiso/getshell new file mode 100644 index 0000000..c61c56c --- /dev/null +++ b/default-config/etc/archiso/getshell @@ -0,0 +1,8 @@ +#!/bin/sh + +. /etc/archiso/functions +shell="$(cmdline_param shell)" +[ -n "${shell}" ] && shell="/bin/bash" +[ ! -e "${shell}" ] && shell="/bin/sh" + +exec ${shell} -- cgit v1.2.3-70-g09d2