Skip to content

Commit

Permalink
Add u2f udev rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
panthomakos committed Jan 4, 2015
1 parent ee19bb9 commit c6235f7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .puppet/dist/u2f/files/u2f.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ACTION!="add|change", GOTO="u2f_end"

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0113|0114|0115|0116|0120|0402|0403|0406|0407|0410", TAG+="uaccess"

LABEL="u2f_end"
9 changes: 9 additions & 0 deletions .puppet/dist/u2f/manifests/init.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class u2f {
file {
'/etc/udev/rules.d/70-u2f.rules':
source => 'puppet:///modules/u2f/u2f.rules',
ensure => file,
owner => root,
group => root,
}
}

0 comments on commit c6235f7

Please sign in to comment.