updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / udev-usbnet-exz / 10-moto-ezx-usbnet.rules
blobcee94830a8641558d4c355d9576fe9603cba7674
1 #2011-03-08 Overdose: student.fmf@gmail.com
2 #rules for usbnet [ motorola a1200 (EZX Platform) ]
4 ACTION=="add", KERNEL=="usb[0-9]*", SUBSYSTEM=="net", SUBSYSTEMS=="usb", DRIVERS=="usb", ATTRS{manufacturer}=="Motorola", ATTRS{product}=="Motorola USBLAN", RUN+="/sbin/ifconfig usb%n 192.168.16.1"
5 ACTION=="remove", KERNEL=="usb[0-9]*", SUBSYSTEM=="net", SUBSYSTEMS=="usb", DRIVERS=="usb", ATTRS{manufacturer}=="Motorola", ATTRS{product}=="Motorola USBLAN", RUN+="/sbin/ifconfig usb%n down"