index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2006-08-30 05:32:35 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-08-30 05:32:35 +0000 |
commit | 676782bc3af8d266b67bbc35b7d791cd8c703aee (patch) | |
tree | f8f3e15d5455a7af3d27be7f0a4cd60dc6943477 /default-config/etc/archiso/getshell |
-rw-r--r-- | default-config/etc/archiso/getshell | 8 |
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}
|