Advertisement
invik

02-htc.rules

Sep 27th, 2012
187
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None
  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
RAW Paste Data Copied
Advertisement