#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
Keywords: miniupnpd hotplug |
-------------------------------+----------------------------------
{{{
/etc/hotplug.d/iface/50-miniupnpd:
if [ ! /etc/init.d/miniupnpd enabled ]
}}}
results in
{{{
ash: enabled: unknown operand
}}}
It should be
{{{
if [ ! $(/etc/init.d/miniupnpd enabled) ]
}}}
Because of the invalid test expression in the hotplug script, miniupnpd
always starts even if the service is not autostarted.
--
Ticket URL: <https://dev.openwrt.org/ticket/18625>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets