From edaf85566e4ba2d90e125a32abf14ed567c92ff2 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Wed, 26 Mar 2008 08:45:25 +0000 Subject: 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 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4086 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- build_tools/genudevrules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build_tools/genudevrules') diff --git a/build_tools/genudevrules b/build_tools/genudevrules index 8e8d556..17e1f90 100755 --- a/build_tools/genudevrules +++ b/build_tools/genudevrules @@ -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}"zappseudo", NAME="zap/pseudo" 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 -- cgit v1.2.3