mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
ponmngr : Respawn ponmngr if at all there is a failure due to initialization delay
This commit is contained in:
parent
fcd0e77ba8
commit
df7872e3f0
1 changed files with 3 additions and 2 deletions
|
|
@ -17,14 +17,15 @@ init_xpon() {
|
|||
|
||||
procd_open_instance ponmgr_cfg
|
||||
procd_set_param command /userfs/bin/ponmgr_cfg
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
procd_open_instance omci
|
||||
procd_set_param command /userfs/bin/omci
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
deinit_xpon() {
|
||||
killall -9 omci 2>/dev/null
|
||||
killall -9 ponmgr_cfg 2>/dev/null
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue