Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
291 B

#!/bin/sh
if ! grep ^scard /etc/group > /dev/null ; then
/usr/sbin/groupadd -g 280 scard
fi
if ! grep ^scard /etc/passwd > /dev/null ; then
/usr/sbin/useradd -u 280 -c "User for SmartCard" -d /var/run/pcscd -g scard scard
fi
mkdir -p var/run/pcscd
chown scard:scard var/run/pcscd