diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-05-23 17:51:18 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-05-23 17:51:18 +0000 |
commit | 2f13a0583586e1d277fe8cb4a05b7ba84853ab49 (patch) | |
tree | ed728d5c194322c1490c509252a06bf629ccf1e0 /build_tools | |
parent | 9ed7100299999ec8bfb0c62467f3362627a9f9c5 (diff) |
Merged revisions 1081 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r1081 | kpfleming | 2006-05-23 12:51:00 -0500 (Tue, 23 May 2006) | 2 lines
handle distros that ship pre-releases of module-init-tools
........
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1082 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/genmodconf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/genmodconf b/build_tools/genmodconf index 32435ee..57013a0 100755 --- a/build_tools/genmodconf +++ b/build_tools/genmodconf @@ -42,7 +42,7 @@ if [ "${1}" == "linux24" ]; then exit 1 fi elif [ "${1}" == "linux26" ]; then - toolver=`/sbin/modprobe --version | awk '{print $$3;}' | cut -d. -f2` + toolver=`/sbin/modprobe --version | awk '{print $$3;}' | cut -d. -f2 | cut -d- -f1` if [ ${toolver} -ge 2 ]; then cmdopts=\$CMDLINE_OPTS fi |