source: packages/net/nfs-server/files/nfsd.init @ 29181

Last change on this file since 29181 was 29181, checked in by nico, 4 years ago

packages/nfs-server: use new service functions, remove portmap from start/stop (it is in its own initscript)

  • Property svn:eol-style set to native
File size: 250 bytes
Line 
1#!/bin/sh /etc/rc.common
2# Copyright (C) 2006-2011 OpenWrt.org
3
4START=50
5STOP=50
6
7start() {
8        service_start /usr/sbin/rpc.mountd -r
9        service_start /usr/sbin/rpc.nfsd
10}
11
12stop() {
13        service_stop /usr/sbin/rpc.nfsd
14        service_stop /usr/sbin/rpc.mountd -r
15}
Note: See TracBrowser for help on using the repository browser.