summaryrefslogtreecommitdiff
path: root/package/portmap
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/portmap
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/portmap')
-rw-r--r--package/portmap/files/portmap.init2
-rw-r--r--package/portmap/files/portmap.postinst3
2 files changed, 4 insertions, 1 deletions
diff --git a/package/portmap/files/portmap.init b/package/portmap/files/portmap.init
index a42c2e2e0..ad0c2b075 100644
--- a/package/portmap/files/portmap.init
+++ b/package/portmap/files/portmap.init
@@ -15,7 +15,7 @@ start)
portmap -t /tmp/.portmap
;;
stop)
- kill $(pidof portmap|cut -d ' ' -f 3)
+ pkill portmap
;;
restart)
sh $0 stop
diff --git a/package/portmap/files/portmap.postinst b/package/portmap/files/portmap.postinst
index 1017d2251..b8b30f45b 100644
--- a/package/portmap/files/portmap.postinst
+++ b/package/portmap/files/portmap.postinst
@@ -3,3 +3,6 @@
add_rcconf portmap
add_group portmap 20
add_user portmap 20 20 /tmp/.portmap
+add_service sunrpc 111/tcp
+add_service sunrpc 111/udp
+