Advertisement
invik

02-htcnet.rules

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