nico f8939bdcbf packages/mpdas: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 01:30:30 +00:00

16 lines
208 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2009-2011 OpenWrt.org
START=94
SERVICE_DAEMONIZE=1
start() {
HOME=/root \
service_start /usr/bin/mpdas -c /etc/mpdasrc
}
stop() {
service_stop /usr/bin/mpdas
}