mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
19 lines
386 B
Bash
19 lines
386 B
Bash
#!/bin/sh
|
|
|
|
. /lib/functions.sh
|
|
|
|
init_xpon() {
|
|
procd_open_instance pon_msgd
|
|
procd_set_param command bcm_msgd -c gpon
|
|
procd_close_instance
|
|
procd_open_instance pon_daemon
|
|
procd_set_param command omcid start -n
|
|
procd_close_instance
|
|
}
|
|
|
|
deinit_xpon() {
|
|
# stopping omcid does not bring down the pon link, which should happen
|
|
# if ANI is disabled or stopped (go to O1)
|
|
gponctl stop
|
|
}
|
|
|