2019-05-01 08:59:41 +00:00
|
|
|
#!/sbin/openrc-run
|
2020-03-07 13:34:48 +00:00
|
|
|
supervisor=supervise-daemon
|
2018-03-11 15:59:09 +00:00
|
|
|
|
2020-03-07 13:34:48 +00:00
|
|
|
name="oFono"
|
|
|
|
description="oFono mobile telephony daemon"
|
2018-03-11 15:59:09 +00:00
|
|
|
|
2020-03-07 13:34:48 +00:00
|
|
|
# libsmdpkt_wrapper.so may not be present (on devices that don't need it)
|
|
|
|
export LD_PRELOAD=/usr/lib/preload/libsmdpkt_wrapper.so
|
2018-03-11 15:59:09 +00:00
|
|
|
|
2020-03-07 13:34:48 +00:00
|
|
|
command="/usr/sbin/ofonod"
|
2020-10-20 23:54:46 +00:00
|
|
|
command_args="${OFONOD_OPTS}"
|
2020-03-07 13:34:48 +00:00
|
|
|
command_args_foreground="-n"
|
|
|
|
|
|
|
|
depend() {
|
|
|
|
need dbus
|
2018-03-11 15:59:09 +00:00
|
|
|
}
|