packages/nfs-server: use new service functions, remove portmap from start/stop (it...
[openwrt/svn-archive/archive.git] / net / nfs-server / files / nfsd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
3
4 START=50
5 STOP=50
6
7 start() {
8 service_start /usr/sbin/rpc.mountd -r
9 service_start /usr/sbin/rpc.nfsd
10 }
11
12 stop() {
13 service_stop /usr/sbin/rpc.nfsd
14 service_stop /usr/sbin/rpc.mountd -r
15 }