invik

02-htcnet.rules

Apr 15th, 2012
92
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # 02-htcnet.rules - by invik
  2. KERNEL=="usb[0-9]*", SUBSYSTEM=="net", ATTR{address}=="xx:xx:xx:xx:xx:xx", ACTION=="add", RUN+="/usr/bin/fakehtcnat.py"
  3. KERNEL=="usb[0-9]*", SUBSYSTEM=="net", ACTION=="remove", RUN+="/usr/sbin/dhclient -x $kernel"
  4.  
  5. # Remember to change the "xx:xx:xx:xx:xx:xx" address to the MAC addres of your phone!
RAW Paste Data