blob: 049cac53fb34c4a63f7fd48a9ed22d2be0679639 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/sbin/runscript
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"
}
|