summaryrefslogtreecommitdiff
path: root/user/rpcbind/rpcbind.pre-install
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-29 21:48:33 -0700
committerDan Theisen <djt@hxx.in>2018-09-30 15:00:55 -0700
commit2031d871d51fce1698448e13340a3c2cfac972ed (patch)
tree98171796094f463b31b61cf35b80033898e14be3 /user/rpcbind/rpcbind.pre-install
parente668f57c242e3b2480944703f0d27ac89438019e (diff)
downloadpackages-2031d871d51fce1698448e13340a3c2cfac972ed.tar.gz
packages-2031d871d51fce1698448e13340a3c2cfac972ed.tar.bz2
packages-2031d871d51fce1698448e13340a3c2cfac972ed.tar.xz
packages-2031d871d51fce1698448e13340a3c2cfac972ed.zip
user/rpcbind: new package
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