mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
network: move start of static-routes
Fixes #10454 Create static routes after network interfaces are initialised.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user