ISO/configs/default/overlay/etc/archiso/functions
Aaron Griffin 98318ea039 Rename "default-config" to "overlay"
I like difficulty and then name was annoying me

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06 20:45:45 -05:00

13 lines
230 B
Bash

# 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}"
}