diff options
Diffstat (limited to 'default-config/etc/archiso/getshell')
-rw-r--r-- | default-config/etc/archiso/getshell | 18 |
1 files changed, 9 insertions, 9 deletions
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} |