summaryrefslogtreecommitdiff
path: root/user/rpcbind/rpcbind.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/rpcbind/rpcbind.pre-install')
-rw-r--r--user/rpcbind/rpcbind.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/rpcbind/rpcbind.pre-install b/user/rpcbind/rpcbind.pre-install
new file mode 100644
index 000000000..771cdbf7b
--- /dev/null
+++ b/user/rpcbind/rpcbind.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S rpc 2>/dev/null
+adduser -S -D -h /var/lib/rpcbind -s /sbin/nologin -G rpc -g rpc rpc 2>/dev/null
+
+exit 0