1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 21:44:37 +02:00
openwrt-xburst/package/mountd/files/mountd.init
jow 95cfc6ea8c [package] mountd: add "-f" option to not daemonize mountd, use service wrappers in init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-12 10:09:55 +00:00

20 lines
219 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=80
SERVICE_DAEMONIZE=1
SERVICE_WRITE_PID=1
SERVICE_PID_FILE=/var/run/mountd.pid
MOUNTD_BIN=/sbin/mountd
start()
{
service_start $MOUNTD_BIN -f
}
stop()
{
service_stop $MOUNTD_BIN
}