Skip to content

Instantly share code, notes, and snippets.

@scollinson
Created May 3, 2014 02:54
Show Gist options
  • Save scollinson/d7ef0b7406864887a734 to your computer and use it in GitHub Desktop.
Save scollinson/d7ef0b7406864887a734 to your computer and use it in GitHub Desktop.
#!/bin/bash
sed /mnt/scratch/xilinx/14.5/ISE_DS/common/bin/lin64/xusbdfwu.rules -e 's:BUS=="usb", ::g' -e 's:SYSFS:ATTRS:g' -e 's:TEMPNODE:tempnode:g' > /etc/udev/rules.d/xusbdfwu.rules
cp /mnt/scratch/xilinx/14.5/ISE_DS/common/bin/lin64/xusb*.hex /usr/share/
service udev restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment