[LEDE-DEV] [PATCH v2] procd: update procd.sh to support both: signal-names and signal-numbers
Jo-Philipp Wich
jo at mein.io
Fri Jan 13 10:31:04 PST 2017
Hi Bastian,
you do not need to iterate the entire list, passing the signal name directly is way simpler:
case "$val" in
[0-9]|[0-9][0-9]) : ;;
*) val=$(kill -l "$value") || return ;;
esac
~ Jo
More information about the Lede-dev
mailing list