]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/init.d/network
network: move start of static-routes
[people/pmueller/ipfire-2.x.git] / src / initscripts / init.d / network
index 1e48af94942cca5b43ef1d352f0fe9fd11eaf098..9182e9801fec62c139755fd6c8ef55c93c6966f9 100644 (file)
@@ -18,7 +18,6 @@ eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
 
 init_networking() {
        /etc/rc.d/init.d/dnsmasq start
-       /etc/rc.d/init.d/static-routes start
 }
 
 DO="${1}"
@@ -69,6 +68,8 @@ case "${DO}" in
                                [ "$AUTOCONNECT" == "off" ] || /etc/rc.d/init.d/networking/red start
                        fi
                fi
+
+               /etc/rc.d/init.d/static-routes start
                ;;
 
        stop)