diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-03-26 08:36:08 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-03-26 08:36:08 +0000 |
commit | 48895d25bf2d9a24a14d1fb8b7c1c77d028504de (patch) | |
tree | ff37ca8858237363b2607ef844b83239e5285791 /build_tools | |
parent | 7e954bd48a3a47787c42759031ae1bfa4a12a22d (diff) |
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.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4085 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/genudevrules | 6 |
1 files changed, 3 insertions, 3 deletions
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 |