Skip to content

Commit

Permalink
Add OpenWRT RCM hotplug script
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBuchanan314 committed May 21, 2018
1 parent 21e18ad commit 843d71f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions files/20-tegra_rcm
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

# OpenWRT hotplug script to be placed in /etc/hotplug.d/usb

BINARY="/usr/bin/fusee-nano /usr/share/fusee-nano/payload.bin"
APX_PRODID="955/7321/102"

if [ "${ACTION}" = "add" ]; then
if [ "${PRODUCT}" = "${APX_PRODID}" ]; then
${BINARY}
fi
fi

0 comments on commit 843d71f

Please sign in to comment.