blob: 17286942740e627753d0b1b486e8b43b14f07e3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/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 $?
}
|