START/STOP values must be specified in the init script
[openwrt/svn-archive/archive.git] / net / nfs-server / files / nfsd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3 START=50
4
5 start() {
6 /usr/sbin/portmap
7 /usr/sbin/rpc.mountd -r
8 /usr/sbin/rpc.nfsd
9 }
10
11 stop() {
12 killall rpc.nfsd
13 killall rpc.mountd
14 killall portmap
15 }