[zaptel-commits] tzafrir: branch 1.4 r4086 - in /branches/1.4: ./ build_tools/genudevrules
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Wed Mar 26 03:45:25 CDT 2008
Author: tzafrir
Date: Wed Mar 26 03:45:25 2008
New Revision: 4086
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4086
Log:
Don't easily fail for missing udevinfo.
Nobody has that older udev version (or otherwise we might have recieved
a bug report about a bogus == rule).
TODO: fix the UDEVRULES test in Makefile.
Merged revisions 4085 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=4086&r1=4085&r2=4086
==============================================================================
--- branches/1.4/build_tools/genudevrules (original)
+++ branches/1.4/build_tools/genudevrules Wed Mar 26 03:45:25 2008
@@ -3,8 +3,8 @@
ver=`udevinfo -V | cut -f3 -d" "`
if [ -z "${ver}" ]; then
- echo Cannot determine the version of udev installed this system... exiting.
- exit 1
+ # nobody has that old version, anyway.
+ ver=54
fi
# udev versions prior to 055 use a single '=' for matching key values
@@ -31,5 +31,5 @@
KERNEL${match}"zap[0-9]*", NAME="zap/%n"
# zaptel devices with ownership/permissions for running as non-root
-SUBSYSTEM=="zaptel", OWNER="asterisk", GROUP="asterisk", MODE="0660"
+SUBSYSTEM${match}"zaptel", OWNER="asterisk", GROUP="asterisk", MODE="0660"
EOF
More information about the zaptel-commits
mailing list