summaryrefslogtreecommitdiff
path: root/legacy/pcsc-lite/pcsc-lite.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-21 17:05:58 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-21 17:05:58 +0000
commitb28ddc074e748330996b9592f3f8961e5ba2f7a7 (patch)
tree0508e30613358b769a260210f8a0f6442d306c41 /legacy/pcsc-lite/pcsc-lite.pre-install
parent6a212945a1b9cd5620cf4bb5942ef7fdfb399b49 (diff)
downloadpackages-b28ddc074e748330996b9592f3f8961e5ba2f7a7.tar.gz
packages-b28ddc074e748330996b9592f3f8961e5ba2f7a7.tar.bz2
packages-b28ddc074e748330996b9592f3f8961e5ba2f7a7.tar.xz
packages-b28ddc074e748330996b9592f3f8961e5ba2f7a7.zip
move pcsc-lite to legacy for a few months as is customary
Diffstat (limited to 'legacy/pcsc-lite/pcsc-lite.pre-install')
-rw-r--r--legacy/pcsc-lite/pcsc-lite.pre-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/legacy/pcsc-lite/pcsc-lite.pre-install b/legacy/pcsc-lite/pcsc-lite.pre-install
new file mode 100644
index 000000000..2e654f28d
--- /dev/null
+++ b/legacy/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