blob: 986116887131d0b802aaf56efd9e15319835d6c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/sbin/openrc-run
depend()
{
need net wpa_supplicant
}
start()
{
ebegin "Starting wpa_actiond"
start-stop-daemon --start --quiet --exec /usr/sbin/wpa_actiond -p /var/run/wpa_actiond.pid -- \
-i ${WPA_ACTIOND_INTERFACE} -a ${WPA_ACTIOND_SCRIPT} ${WPA_ACTIOND_OPTS}
eend $?
}
stop()
{
ebegin "Stopping wpa_actiond"
start-stop-daemon --stop --quiet --exec /usr/sbin/wpa_actiond -p /var/run/wpa_actiond.pid
eend $?
}
|