[zaptel-commits] tzafrir: branch 1.4 r3494 - in /branches/1.4: ./ build_tools/genudevrules
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Sun Dec 16 11:43:20 CST 2007
Author: tzafrir
Date: Sun Dec 16 11:43:20 2007
New Revision: 3494
URL: http://svn.digium.com/view/zaptel?view=rev&rev=3494
Log:
Simplify udev rules so they will be in line with ones provided by
distributions and allow simple overriding of file permissions.
Closes issue #11276 .
Merged revisions 3493 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
Modified:
branches/1.4/ (props changed)
branches/1.4/build_tools/genudevrules
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/build_tools/genudevrules
URL: http://svn.digium.com/view/zaptel/branches/1.4/build_tools/genudevrules?view=diff&rev=3494&r1=3493&r2=3494
==============================================================================
--- branches/1.4/build_tools/genudevrules (original)
+++ branches/1.4/build_tools/genudevrules Sun Dec 16 11:43:20 2007
@@ -21,11 +21,15 @@
fi
cat <<EOF
+# udev rules to generate the /dev/zap device files (if not yet provided
+# by your distribution):
+KERNEL${match}"zapctl", NAME="zap/ctl"
+KERNEL${match}"zaptranscode", NAME="zap/transcode"
+KERNEL${match}"zaptimer", NAME="zap/timer"
+KERNEL${match}"zapchannel", NAME="zap/channel"
+KERNEL${match}"zappseudo", NAME="zap/pseudo"
+KERNEL${match}"zap[0-9]*", NAME="zap/%n"
+
# zaptel devices with ownership/permissions for running as non-root
-KERNEL${match}"zapctl", NAME="zap/ctl", OWNER="asterisk", GROUP="asterisk", MODE="0660"
-KERNEL${match}"zaptranscode", NAME="zap/transcode", OWNER="asterisk", GROUP="asterisk", MODE="0660"
-KERNEL${match}"zaptimer", NAME="zap/timer", OWNER="asterisk", GROUP="asterisk", MODE="0660"
-KERNEL${match}"zapchannel", NAME="zap/channel", OWNER="asterisk", GROUP="asterisk", MODE="0660"
-KERNEL${match}"zappseudo", NAME="zap/pseudo", OWNER="asterisk", GROUP="asterisk", MODE="0660"
-KERNEL${match}"zap[0-9]*", NAME="zap/%n", OWNER="asterisk", GROUP="asterisk", MODE="0660"
+SUBSYSTEM=="zaptel", OWNER="asterisk", GROUP="asterisk", MODE="0660"
EOF
More information about the zaptel-commits
mailing list