summaryrefslogtreecommitdiffstats
path: root/net/nfs-server/files/nfsd.init
blob: f66c1af25adfd05be50c80557dc23b5f973df453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org

START=50
STOP=50

start() {
	service_start /usr/sbin/rpc.mountd -r
	service_start /usr/sbin/rpc.nfsd
}

stop() {
	service_stop /usr/sbin/rpc.nfsd
	service_stop /usr/sbin/rpc.mountd -r
}