Advertisement
invik

02-htc.rules

Sep 27th, 2012
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. KERNEL=="usb[0-9]*", SUBSYSTEM=="net", ENV{ID_SERIAL_SHORT}="HTxxxxxxxxxx", ACTION=="add", RUN+="/usr/local/bin/fakehtcnat.py"
  2. KERNEL=="usb[0-9]*", SUBSYSTEM=="net", ENV{ID_SERIAL_SHORT}="HTxxxxxxxxxx", ACTION=="remove", RUN+="/usr/sbin/dhclient -x $kernel"
  3.  
  4. # Be sure to change the "xxxxxxxxxx" to the right serial number!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement