miniupnpd: suppress grep and uci errors
authorDavid Ehrmann <redacted>
Sat, 20 Jun 2020 22:34:39 +0000 (15:34 -0700)
committerDavid Ehrmann <redacted>
Sun, 21 Jun 2020 03:48:29 +0000 (20:48 -0700)
commit6ef2b5400bce73b12158b2f8d92dd9675afe8203
tree0962784774b3ad4c003889d36416eb96cdf00b86
parentf2639763768f7981ae7971697e0b7dce1100b557
miniupnpd: suppress grep and uci errors

If miniupnpd is installed but disabled or not running, the hotplug
script will query uci for keys that don't exist and grep a temporary
config file that doesn't exist, resulting in the following errors:

uci: Entry not found
grep: /var/etc/miniupnd.conf: No such file or directory

These would arise when an interface is brought up or down, and are
more confusing than helpful, especially when miniupnpd is disabled.

Suppress these errors.

Signed-off-by: David Ehrmann <redacted>
net/miniupnpd/Makefile
net/miniupnpd/files/miniupnpd.hotplug
git clone https://git.99rst.org/PROJECT