2021-03-23 12:38:36 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
|
|
|
|
USE_PROCD=1
|
|
|
|
START=99
|
|
|
|
STOP=01
|
|
|
|
|
|
|
|
start_service() {
|
|
|
|
procd_open_instance
|
2021-03-23 21:28:22 +00:00
|
|
|
procd_set_param command /usr/sbin/wwan_loop
|
2021-03-23 12:38:36 +00:00
|
|
|
procd_set_param stdout 1
|
|
|
|
procd_set_param stderr 1
|
2021-05-12 16:46:45 +00:00
|
|
|
procd_set_param respawn ${respawn_threshold:-600} ${respawn_timeout:-10} ${respawn_retry:-12}
|
2021-03-23 12:38:36 +00:00
|
|
|
procd_close_instance
|
|
|
|
}
|
|
|
|
|