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