index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2006-09-29 06:47:54 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-09-29 06:47:54 +0000 |
commit | 9b271cc9977bfe074773412718a50fb82452a45f (patch) | |
tree | c72ffd87f288b2da33f25bd412679b3bff37d161 /default-config/etc/archiso/getshell | |
parent | 49284a96faf1c29b6b05ac70ea5c2ecda03fa75f (diff) |
-rw-r--r-- | default-config/etc/archiso/getshell | 18 |
diff --git a/default-config/etc/archiso/getshell b/default-config/etc/archiso/getshell index 41ec0c6..a6f8775 100644 --- a/default-config/etc/archiso/getshell +++ b/default-config/etc/archiso/getshell @@ -1,9 +1,9 @@ -#!/bin/sh
-
-. /etc/archiso/functions
-
-shell="$(cmdline_param shell)"
-[ -n "${shell}" ] && shell="/bin/bash"
-[ ! -e "${shell}" ] && shell="/bin/sh"
-
-exec ${shell}
+#!/bin/sh + +. /etc/archiso/functions + +shell="$(cmdline_param shell)" +[ -n "${shell}" ] && shell="/bin/bash" +[ ! -e "${shell}" ] && shell="/bin/sh" + +exec ${shell} |