blob: b7972565d00de277ec64fbf4a8f2f78eefb5e09a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/sbin/openrc-run
start() {
ebegin "Starting up wmacpimond daemon"
touch /var/tmp/wmacpimon.prc
start-stop-daemon --start --quiet --exec /usr/bin/wmacpimond -- /var/tmp/wmacpimon.prc >/dev/null
eend $? "Failed to start wmacpimond"
}
stop() {
ebegin "Shutting down wmacpimond daemon"
killall wmacpimonmd &>/dev/null
rm /var/tmp/wmacpimon.prc &>/dev/null
eend $? "Failed to stop wmacpimond"
}
|