]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/init.d/network
Change QOS of incoming traffic to match local Nat IP Addresses
[people/pmueller/ipfire-2.x.git] / src / initscripts / init.d / network
index a6775027eddd5e8c4e8c3db96f03734cbb89afb1..90f811384ce6e329ec9d3f5b4833bf92c6dd8d41 100644 (file)
@@ -31,11 +31,11 @@ init_networking() {
        boot_mesg "Setting up firewall"
        /etc/rc.d/init.d/firewall start; evaluate_retval
 
-       boot_mesg "Setting up traffic accounting"
-       /etc/rc.d/helper/writeipac.pl || failed=1
-       /usr/sbin/fetchipac -S || failed=1
-       (exit ${failed})
-       evaluate_retval
+#      boot_mesg "Setting up traffic accounting"
+#      /etc/rc.d/helper/writeipac.pl || failed=1
+#      /usr/sbin/fetchipac -S || failed=1
+#      (exit ${failed})
+#      evaluate_retval
 
        boot_mesg "Setting up DMZ pinholes"
        /usr/local/bin/setdmzholes; evaluate_retval
@@ -117,6 +117,11 @@ 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
+
+               exit 0
                ;;
 
        restart)