network: move start of static-routes

Fixes #10454

Create static routes after network interfaces are initialised.
This commit is contained in:
Timo Eissler
2014-09-27 23:28:04 +02:00
parent d51e490664
commit 1d4897f308

View 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)