mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
21 lines
362 B
Plaintext
21 lines
362 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
description="Connection Manager"
|
|
cfgfile=/etc/connman/main.conf
|
|
pidfile=/run/connman/connman.pid
|
|
command=/usr/sbin/connmand
|
|
command_args="$command_args -n -c $cfgfile"
|
|
command_background="yes"
|
|
|
|
depend() {
|
|
need dbus
|
|
provide net
|
|
}
|
|
|
|
start_pre() {
|
|
ebegin
|
|
checkpath --directory ${pidfile%/*}
|
|
ln -sf ${pidfile%/*}/resolv.conf /etc/
|
|
eend $?
|
|
}
|