]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/initscripts/init.d/network
Fix dnsmasq was not stopped at shutdown
[people/teissler/ipfire-2.x.git] / src / initscripts / init.d / network
index a4f190d529c67b6cb19e2236a895feeebd384c32..a02c585819f423a99094fd3f229a63edf86a0122 100644 (file)
@@ -117,6 +117,9 @@ case "${DO}" in
                                /etc/rc.d/init.d/networking/red stop
                        fi
                fi
+
+               # Stopping dnsmasq if network all networks shutdown
+               [ "${ALL}" == "1" ] && /etc/rc.d/init.d/dnsmasq stop
                ;;
 
        restart)