List Info

Thread: tzafrir: branch 1.2 r4085 - /branches/1.2/build_tools/genudevrules




tzafrir: branch 1.2 r4085 - /branches/1.2/build_tools/genudevrules
user name
2008-03-26 03:36:09
Author: tzafrir
Date: Wed Mar 26 03:36:08 2008
New Revision: 4085

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4085
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.

Modified:
    branches/1.2/build_tools/genudevrules

Modified: branches/1.2/build_tools/genudevrules
URL: http://svn.digium.com/view/zaptel/branches/1.2/build_t
ools/genudevrules?view=diff&rev=4085&r1=4084&r2=
4085
============================================================
==================
--- branches/1.2/build_tools/genudevrules (original)
+++ branches/1.2/build_tools/genudevrules Wed Mar 26
03:36:08 2008
 -3,8
+3,8 
 ver=`udevinfo -V | cut -f3 -d" "`
 
 if [ -z "$" ]; 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$"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$"zaptel", 
OWNER="asterisk", GROUP="asterisk",
MODE="0660"
 EOF


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

zaptel-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/zaptel-commits

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )