mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 15:14:33 +02:00
This commit also adds a pre-install script to create the plugdev group, otherwise udev rules would not work.
12 lines
165 B
Bash
12 lines
165 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S plugdev 2>/dev/null
|
|
|
|
cat <<EOF
|
|
*
|
|
* To use U2F USB tokens (such as YubiKey), regular users must be members of
|
|
* 'plugdev' group.
|
|
*
|
|
EOF
|
|
|
|
exit 0
|