projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb32141
)
nfs-kernel-server: make lockd, statd and mountd bind to fixed ports to make it useabl...
author
Peter Wagner
<tripolar@gmx.at>
Thu, 18 Feb 2010 16:18:39 +0000
(16:18 +0000)
committer
Peter Wagner
<tripolar@gmx.at>
Thu, 18 Feb 2010 16:18:39 +0000
(16:18 +0000)
SVN-Revision: 19706
net/nfs-kernel-server/files/nfsd.init
patch
|
blob
|
history
diff --git
a/net/nfs-kernel-server/files/nfsd.init
b/net/nfs-kernel-server/files/nfsd.init
index 6130bec54291b802c0a586aa17428e82ae2f7c36..bf658d0a1a9fe29bb981037de5892aa188bfb06b 100644
(file)
--- a/
net/nfs-kernel-server/files/nfsd.init
+++ b/
net/nfs-kernel-server/files/nfsd.init
@@
-12,10
+12,11
@@
start() {
mkdir -p $LOCK_D
touch $NFS_D/rmtab
- /usr/sbin/rpc.statd
+ sysctl -w fs.nfs.nlm_tcpport=32777 fs.nfs.nlm_udpport=32777 > /dev/null
+ /usr/sbin/rpc.statd -p 32778 -o 32779
/usr/sbin/exportfs -r
/usr/sbin/rpc.nfsd
- /usr/sbin/rpc.mountd
+ /usr/sbin/rpc.mountd
-p 32780
}
stop() {