mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 10:34:18 +00:00
Apply udev rules at install time with udevadm --trigger
Closes: #683863
This commit is contained in:
committed by
Didier Raboud
parent
15bea49681
commit
a0af522ced
Vendored
+31
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
if [ "$1" = "configure" -o "$1" = "upgrade" ]; then
|
||||
# apply udev rules at package installation, see
|
||||
# <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683863#27>
|
||||
# NOTA BENE: after the DEBHELPER section since dh_installudev
|
||||
# adds stuff there
|
||||
udevadm trigger --action=add --attr-match=idVendor=0483 --attr-match=idProduct=2016
|
||||
udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2016
|
||||
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=5501
|
||||
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2500
|
||||
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2580
|
||||
udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bb
|
||||
udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bc
|
||||
udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bd
|
||||
udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00ca
|
||||
udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=0007
|
||||
udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=0008
|
||||
udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=000a
|
||||
udevadm trigger --action=add --attr-match=idVendor=061a --attr-match=idProduct=0110
|
||||
udevadm trigger --action=add --attr-match=idVendor=061a --attr-match=idProduct=1000
|
||||
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1600
|
||||
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0001
|
||||
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2810
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user