port_management: add a boot section to init.d script restarting wan

Issue with uplink LED not being brough up on boot
after earlier fix preventing restart of all
ports on every reload
This commit is contained in:
Jakob Olsson 2019-08-30 10:39:47 +02:00
parent f9ff2b2ff3
commit 047e004f92

View file

@ -73,3 +73,8 @@ service_triggers() {
procd_add_reload_trigger ports
}
boot() {
wan=$(db -q get hw.board.ethernetWanPort)
restart_port $wan
start
}