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