summaryrefslogtreecommitdiff
path: root/package/rpcbind/files/rpcbind.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/rpcbind/files/rpcbind.postinst')
-rw-r--r--package/rpcbind/files/rpcbind.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/rpcbind/files/rpcbind.postinst b/package/rpcbind/files/rpcbind.postinst
new file mode 100644
index 000000000..7d26be995
--- /dev/null
+++ b/package/rpcbind/files/rpcbind.postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf rpcbind
+add_service rpcbind 111/tcp
+add_service rpcbind 111/udp