dnsmasq: improve init script portability (FS#1446)
[openwrt/openwrt.git] / package / network / services / dnsmasq / files / dnsmasq.init
index dcc18e34d74dade7dec597fec0ad39938368944d..1881b2bcdcc5ae66cac322dc0e00d0a2091bf946 100644 (file)
@@ -1027,7 +1027,7 @@ dnsmasq_start()
 
 dnsmasq_stop()
 {
-       local cfg="$1"
+       local cfg="$1" resolvfile
 
        config_get resolvfile "$cfg" "resolvfile"