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 bd0a60d108
commit 89cec74db5

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
}