index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | default-config/etc/archiso/functions | 5 |
diff --git a/default-config/etc/archiso/functions b/default-config/etc/archiso/functions index d668b4c..fdd48f4 100644 --- a/default-config/etc/archiso/functions +++ b/default-config/etc/archiso/functions @@ -2,10 +2,9 @@ cmdline_param () { - read cmdline < /proc/cmdline - for param in ${cmdline}; do + for param in ${CMDLINE}; do case "${param}" in - $1=*) echo "${param##*=}"; break ;; + $1=*) echo "${param##*=}"; return ;; *) continue ;; esac done |