summaryrefslogtreecommitdiff
path: root/default-config/etc/archiso/functions
blob: 29720134cd6a23f97f84efc00ce376a70eebd9ee (plain)
1
2
3
4
5
6
7
8
9
10
11
# vim: set ft=sh:
cmdline_param ()
{
    while param do;
        case "${param}" in
            $1=*) echo "${param##*=}"; break ;;
            *) continue ;;
        esac
        echo "${2}"
    done < read /proc/cmdline
}