English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /trunk/freewrt/package/nfs-server/files/nfsd.init

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2558 - (show annotations) (download)
Sun May 20 12:00:35 2007 UTC (6 years, 9 months ago) by wbx
File size: 392 byte(s)
create needed directory, from aep via irc
1 #FWINIT 65
2 . /etc/rc.conf
3
4 case $1 in
5 autostop) ;;
6 autostart)
7 test x"${portmap:-NO}" = x"NO" && exit 0
8 test x"${nfsd:-NO}" = x"NO" && exit 0
9 exec $0 start
10 ;;
11 start)
12 mkdir -p /var/lib/nfs
13 /usr/sbin/rpc.mountd -r
14 /usr/sbin/rpc.nfsd
15 ;;
16 stop)
17 killall rpc.nfsd
18 killall rpc.mountd
19 ;;
20 restart)
21 $0 stop
22 $0 start
23 ;;
24 *)
25 echo "Usage: $0 {start | stop | restart}"
26 exit 1
27 ;;
28 esac
29 exit $?

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20