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

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/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: 337 byte(s)
create needed directory, from aep via irc
1 #!/bin/sh
2
3 . /etc/rc.conf
4
5 case $1 in
6 autostart)
7 test x"${nfsd:-NO}" = x"NO" && exit 0
8 exec $0 start
9 ;;
10 start)
11 mkdir -p /var/lib/nfs
12 /usr/sbin/rpc.mountd -r
13 /usr/sbin/rpc.nfsd
14 ;;
15 stop)
16 killall rpc.nfsd
17 killall rpc.mountd
18 ;;
19 restart)
20 $0 stop
21 $0 start
22 ;;
23 *)
24 echo "Usage: $0 {start | stop | restart}"
25 exit 1
26 ;;
27 esac
28 exit $?

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