ISO/configs/xfce4/overlay/etc/archiso/functions

13 lines
230 B
Plaintext
Raw Normal View History

# vim: set ft=sh:
cmdline_param ()
{
for param in ${CMDLINE}; do
case "${param}" in
$1=*) echo "${param##*=}"; return ;;
*) continue ;;
esac
done
[ -n "${2}" ] && echo "${2}"
}