mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-19 10:42:14 +01:00
ponmngr: airoha: don't start pon daemons if xpon module is not loaded
This commit is contained in:
parent
ad8cee56df
commit
53b6001a51
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ set_serial_number() {
|
|||
}
|
||||
|
||||
init_xpon() {
|
||||
# don't start pon daemons if xpon module is not loaded
|
||||
[ -d /sys/module/xpon ] || return
|
||||
|
||||
procd_open_instance ponmgr_cfg
|
||||
procd_set_param command /userfs/bin/ponmgr_cfg
|
||||
procd_close_instance
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue