Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cat /etc/udev/rules.d/99-modem.rules
- ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", ENV{ID_USB_INTERFACE_NUM}=="00", SYMLINK+="ttyMODEM", GROUP="dialout", MODE="0660", PROGRAM="/usr/sbin/service gammu-smsd start"
- ACTION=="remove", SUBSYSTEM=="tty", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", ENV{ID_USB_INTERFACE_NUM}=="00", PROGRAM="/usr/sbin/service gammu-smsd stop"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement