mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-19 02:31:30 +01:00
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:
parent
f9ff2b2ff3
commit
047e004f92
1 changed files with 5 additions and 0 deletions
|
|
@ -73,3 +73,8 @@ service_triggers() {
|
|||
procd_add_reload_trigger ports
|
||||
}
|
||||
|
||||
boot() {
|
||||
wan=$(db -q get hw.board.ethernetWanPort)
|
||||
restart_port $wan
|
||||
start
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue