diff options
Diffstat (limited to 'net-dialup/hsfmodem/files/hsfmodem-7.60.00.09-udev-group.patch')
-rw-r--r-- | net-dialup/hsfmodem/files/hsfmodem-7.60.00.09-udev-group.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-dialup/hsfmodem/files/hsfmodem-7.60.00.09-udev-group.patch b/net-dialup/hsfmodem/files/hsfmodem-7.60.00.09-udev-group.patch new file mode 100644 index 000000000000..d10d05d1d1bf --- /dev/null +++ b/net-dialup/hsfmodem/files/hsfmodem-7.60.00.09-udev-group.patch @@ -0,0 +1,15 @@ +diff -Nru hsfmodem-7.60.00.09x86_64full.orig/scripts/cnxtconfig.in hsfmodem-7.60.00.09x86_64full/scripts/cnxtconfig.in +--- hsfmodem-7.60.00.09x86_64full.orig/scripts/cnxtconfig.in 2007-05-09 04:32:30.000000000 +0300 ++++ hsfmodem-7.60.00.09x86_64full/scripts/cnxtconfig.in 2007-07-14 10:47:10.000000000 +0300 +@@ -1871,9 +1871,9 @@ + if [ -d /etc/udev/rules.d ]; then + rm -f /etc/udev/rules.d/00-@CNXTTARGET@.rules + if [ "@CNXTDRIVER@" = "dgc" ]; then +- echo 'KERNEL=="ttyACM0", SYMLINK="modem"' > /etc/udev/rules.d/00-@CNXTTARGET@.rules ++ echo 'KERNEL=="ttyACM0", SYMLINK="modem", GROUP="dialout"' > /etc/udev/rules.d/00-@CNXTTARGET@.rules + else +- echo 'KERNEL=="ttyS@CNXTSERDEV@0", SYMLINK="modem"' > /etc/udev/rules.d/00-@CNXTTARGET@.rules ++ echo 'KERNEL=="ttyS@CNXTSERDEV@0", SYMLINK="modem", GROUP="dialout"' > /etc/udev/rules.d/00-@CNXTTARGET@.rules + fi + fi + |