index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | default-config/etc/archiso/functions | 2 | ||||
-rw-r--r-- | default-config/etc/archiso/getshell | 1 |
diff --git a/default-config/etc/archiso/functions b/default-config/etc/archiso/functions index bf224dc..2972013 100644 --- a/default-config/etc/archiso/functions +++ b/default-config/etc/archiso/functions @@ -6,6 +6,6 @@ cmdline_param () $1=*) echo "${param##*=}"; break ;;
*) continue ;;
esac
+ echo "${2}"
done < read /proc/cmdline
- echo "${2}"
}
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"
|