nbd c20d2de22e stop nfsd and sshd on reboot (thx, puchu)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 18:12:57 +00:00

17 lines
219 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50
STOP=50
start() {
/usr/sbin/portmap
/usr/sbin/rpc.mountd -r
/usr/sbin/rpc.nfsd
}
stop() {
killall rpc.nfsd
killall rpc.mountd
killall portmap
}