summaryrefslogtreecommitdiff
path: root/package/nfs-utils/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-31 18:43:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-31 18:43:34 +0100
commit53b2ff052e3a164154d4ee17f189b213e4600ecb (patch)
tree876b66d8afcdb3e83ec5f4cac90721c32fabcd07 /package/nfs-utils/files
parent69f8e5c7f61a46b79a3a75036d8cfe86830023c1 (diff)
fix nfs server stuff
If you need ipv6, you should choose TIRPC flavour. This will install rpcbind, which is similar to portmap. For ipv4 only you can just use nfs-utils without TIRPC and portmap will be installed. Fix some kernel module dependencies. Add a new package rpcbind.
Diffstat (limited to 'package/nfs-utils/files')
-rw-r--r--package/nfs-utils/files/nfs-utils.postinst2
-rw-r--r--package/nfs-utils/files/nfsd.init2
2 files changed, 1 insertions, 3 deletions
diff --git a/package/nfs-utils/files/nfs-utils.postinst b/package/nfs-utils/files/nfs-utils.postinst
index bfb7481d0..131ed1608 100644
--- a/package/nfs-utils/files/nfs-utils.postinst
+++ b/package/nfs-utils/files/nfs-utils.postinst
@@ -2,7 +2,7 @@
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf "kernel nfs server" nfs_server NO
add_rcconf "kernel nfs server version" nfs_server_version 3
-add_service nfs 2049/tdp
+add_service nfs 2049/tcp
add_service nfs 2049/udp
gid=$(get_next_gid)
add_group nfs $gid
diff --git a/package/nfs-utils/files/nfsd.init b/package/nfs-utils/files/nfsd.init
index 9379d6a39..8d438e219 100644
--- a/package/nfs-utils/files/nfsd.init
+++ b/package/nfs-utils/files/nfsd.init
@@ -21,7 +21,6 @@ start)
/usr/sbin/exportfs -r
/usr/sbin/mountd
/usr/sbin/nfsd
- /usr/sbin/statd
if [ ${nfs_server_version} -eq 4 ];then
mkdir -p /var/lib/nfs/rpc_pipefs
mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs
@@ -32,7 +31,6 @@ start)
stop)
pkill nfsd
pkill mountd
- pkill statd
if [ ${nfs_server_version} -eq 4 ];then
pkill idmapd
pkill svcgssd