Skip to content

Commit

Permalink
add hv-panda udev rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Aug 22, 2016
1 parent a6dc4a9 commit aea8756
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions iocBoot/iochvpanda/99-hv-panda.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copy as /etc/udev/rules.d/99-hv-panda.rules
# Change USERNAME as approprate

ACTION=="add", SUBSYSTEM=="pci", \
ATTR{vendor}=="0x1172", ATTR{device}=="0x1234", \
ATTR{subsystem_device}=="0x0000", ATTR{subsystem_vendor}=="0x0000", \
RUN+="/bin/chown USERNAME %S%p/resource0", \
RUN+="/bin/chmod 0600 %S%p/resource0"

0 comments on commit aea8756

Please sign in to comment.