2009-05-21 09:08:58 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-12 01:30:30 +00:00
|
|
|
# Copyright (C) 2009-2011 OpenWrt.org
|
|
|
|
|
2009-05-21 09:08:58 +00:00
|
|
|
START=94
|
|
|
|
|
2011-11-12 01:30:30 +00:00
|
|
|
SERVICE_DAEMONIZE=1
|
|
|
|
|
2009-05-21 09:08:58 +00:00
|
|
|
start() {
|
2011-11-12 01:30:30 +00:00
|
|
|
HOME=/root \
|
|
|
|
service_start /usr/bin/mpdas -c /etc/mpdasrc
|
2009-05-21 09:08:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2011-11-12 01:30:30 +00:00
|
|
|
service_stop /usr/bin/mpdas
|
2009-05-21 09:08:58 +00:00
|
|
|
}
|