ISO/default-config/etc/archiso/functions

12 lines
235 B
Bash

# vim: set ft=sh:
cmdline_param ()
{
while param do;
case "${param}" in
$1=*) echo "${param##*=}"; break ;;
*) continue ;;
esac
echo "${2}"
done < read /proc/cmdline
}