Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # by RD, 16.11.2018 - BEGIN -
- attach 100 {
- match "vendor" "0x12d1";
- match "product" "0x1001";
- action "/usr/bin/chgrp dialer /dev/tty$ttyname.0 ; /bin/chmod 0660 /dev/tty$ttyname.0 ; /bin/ln -s /dev/tty$ttyname.0 /dev/ttyMEGAFON";
- };
- notify 100 {
- match "subsystem" "DEVICE";
- match "type" "DETACH";
- match "vendor" "0x12d1";
- match "product" "0x1001";
- action "/bin/rm -f /dev/ttyMEGAFON";
- };
- attach 100 {
- match "vendor" "0x19d2";
- match "product" "0x2003";
- action "/usr/bin/chgrp dialer /dev/tty$ttyname.1 ; /bin/chmod 0660 /dev/tty$ttyname.1 ; /bin/ln -s /dev/tty$ttyname.1 /dev/ttyMTS";
- };
- notify 100 {
- match "subsystem" "DEVICE";
- match "type" "DETACH";
- match "vendor" "0x19d2";
- match "product" "0x2003";
- action "/bin/rm -f /dev/ttyMTS";
- };
- # by RD, 16.11.2018 - END -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement