#18625: miniupnpd: malformed test expression in hotplug script
-------------------------------+----------------------------------
Reporter: braveheart_leo@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: miniupnpd hotplug
-------------------------------+----------------------------------
Comment (by braveheart_leo@…):
actually, the correct expression to use is simply
{{{
if ! $(/etc/init.d/miniupnpd enabled) # without the brackets
}}}
If miniupnpd service is enabled, then the expression evaluates false, and
if the service is disabled, then the expression evaluates true.
--
Ticket URL: <https://dev.openwrt.org/ticket/18625#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets