dnsmasq: hotplug script tidyup
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sun, 10 May 2020 12:47:05 +0000 (13:47 +0100)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sun, 10 May 2020 19:40:30 +0000 (20:40 +0100)
commited91d72eac34c58f7c5cbe7543b475417ebf1c9e
tree217f32841d314ab7398977765fcd40720f0aa597
parente31e5c4ea492257a328613c6217d38119dc53ed6
dnsmasq: hotplug script tidyup

Hotplug scripts are sourced so the #!/bin/sh is superfluous/deceptive.
Re-arrange script to only source 'procd' if we get to the stage of
needing to signal the process, reduce hotplug processing load a little.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasqsec.hotplug