summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/hsfmodem/files/hsfmodem-7.60.00.02-udev-group.patch')
-rw-r--r--net-dialup/hsfmodem/files/hsfmodem-7.60.00.02-udev-group.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-dialup/hsfmodem/files/hsfmodem-7.60.00.02-udev-group.patch b/net-dialup/hsfmodem/files/hsfmodem-7.60.00.02-udev-group.patch
new file mode 100644
index 000000000000..6ecde46e7b39
--- /dev/null
+++ b/net-dialup/hsfmodem/files/hsfmodem-7.60.00.02-udev-group.patch
@@ -0,0 +1,12 @@
+diff -Nru hsfmodem-7.60.00.02x86_64full.orig/scripts/cnxtconfig.in hsfmodem-7.60.00.02x86_64full/scripts/cnxtconfig.in
+--- hsfmodem-7.60.00.02x86_64full.orig/scripts/cnxtconfig.in 2006-12-16 02:46:10.000000000 +0200
++++ hsfmodem-7.60.00.02x86_64full/scripts/cnxtconfig.in 2007-02-10 10:23:18.000000000 +0200
+@@ -1833,7 +1833,7 @@
+
+ if [ -d /etc/udev/rules.d ]; then
+ rm -f /etc/udev/rules.d/@CNXTTARGET@.rules
+- echo 'KERNEL=="ttyS@CNXTSERDEV@0", SYMLINK="modem"' > /etc/udev/rules.d/@CNXTTARGET@.rules
++ echo 'KERNEL=="ttyS@CNXTSERDEV@0", SYMLINK="modem", GROUP="dialout"' > /etc/udev/rules.d/@CNXTTARGET@.rules
+ fi
+
+ touch "${cnxtetcdir}/.serial_configured"