summaryrefslogtreecommitdiff
path: root/default-config/etc/archiso/getshell
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-09-19 18:08:10 +0000
committerAaron Griffin <aaron@archlinux.org>2006-09-19 18:08:10 +0000
commit59ddc5be61a1ee5dadc32c8a2255931d62bbce2a (patch)
treee68bbecc87bc854d3097d9dd6f8b850bc50325cc /default-config/etc/archiso/getshell
parent8660ae6b5a7209f6583926673af75b52b1b4f523 (diff)
downloadarchiso32-59ddc5be61a1ee5dadc32c8a2255931d62bbce2a.tar.xz
git-svn-id: http://phraktured.net/archiso@12 00a9fe69-e71b-0410-bb23-df0e5024db41
Diffstat (limited to 'default-config/etc/archiso/getshell')
-rw-r--r--default-config/etc/archiso/getshell1
1 files changed, 1 insertions, 0 deletions
diff --git a/default-config/etc/archiso/getshell b/default-config/etc/archiso/getshell
index c61c56c..41ec0c6 100644
--- a/default-config/etc/archiso/getshell
+++ b/default-config/etc/archiso/getshell
@@ -1,6 +1,7 @@
#!/bin/sh
. /etc/archiso/functions
+
shell="$(cmdline_param shell)"
[ -n "${shell}" ] && shell="/bin/bash"
[ ! -e "${shell}" ] && shell="/bin/sh"