summaryrefslogtreecommitdiff
path: root/user/pcsc-lite/pcsc-lite.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 19:29:59 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 19:29:59 -0500
commitb0dca5a06989f9513ac6cf3313fae2b405c21e5f (patch)
tree6e02c4542ff7e467d8140d4ec7c27b5606c295a9 /user/pcsc-lite/pcsc-lite.pre-install
parente8b1b68f0a79b2418768ada3e3e2436aa84296e8 (diff)
downloadpackages-b0dca5a06989f9513ac6cf3313fae2b405c21e5f.tar.gz
packages-b0dca5a06989f9513ac6cf3313fae2b405c21e5f.tar.bz2
packages-b0dca5a06989f9513ac6cf3313fae2b405c21e5f.tar.xz
packages-b0dca5a06989f9513ac6cf3313fae2b405c21e5f.zip
user/pcsc-lite: pull in, [??? version], emergency gentoo escape hatch for alioth
Diffstat (limited to 'user/pcsc-lite/pcsc-lite.pre-install')
-rw-r--r--user/pcsc-lite/pcsc-lite.pre-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/pcsc-lite/pcsc-lite.pre-install b/user/pcsc-lite/pcsc-lite.pre-install
new file mode 100644
index 000000000..2e654f28d
--- /dev/null
+++ b/user/pcsc-lite/pcsc-lite.pre-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+username=pcscd
+groupname=$username
+
+addgroup -S $username 2>/dev/null
+adduser -S -D -H -h /var/run/$username -s /sbin/nologin -G $groupname \
+ -g $username $username 2>/dev/null
+
+exit 0