summaryrefslogtreecommitdiff
path: root/default-config
diff options
context:
space:
mode:
Diffstat (limited to 'default-config')
-rw-r--r--default-config/etc/archiso/functions5
1 files changed, 2 insertions, 3 deletions
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