[zaptel-commits] tzafrir: branch tzafrir/zaphelper r1633 - /team/tzafrir/zaphelper/build_tools/

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Tue Nov 21 23:04:22 MST 2006


Author: tzafrir
Date: Wed Nov 22 00:04:22 2006
New Revision: 1633

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1633
Log:
Don't run ztcfg after a module load. That's what we have init.d script 
and zaptel helper for: run ztcfg when it is needed (if needed).

Modified:
    team/tzafrir/zaphelper/build_tools/genmodconf

Modified: team/tzafrir/zaphelper/build_tools/genmodconf
URL: http://svn.digium.com/view/zaptel/team/tzafrir/zaphelper/build_tools/genmodconf?view=diff&rev=1633&r1=1632&r2=1633
==============================================================================
--- team/tzafrir/zaphelper/build_tools/genmodconf (original)
+++ team/tzafrir/zaphelper/build_tools/genmodconf Wed Nov 22 00:04:22 2006
@@ -79,20 +79,6 @@
 
 echo Building ${target}...
 
-if [ "${1}" == "linux24" ]; then
-    for mod in ${3}; do
-	if ! grep -q "post-install ${mod} " ${target}; then
-	    echo "post-install ${mod} /sbin/ztcfg" >> ${target}
-	fi
-    done
-elif [ "${1}" == "linux26" ]; then
-    for mod in ${3}; do
-	if ! grep -q "install ${mod} " ${target}; then
-	    echo "install ${mod} /sbin/modprobe --ignore-install ${mod} ${cmdopts} && /sbin/ztcfg" >> ${target}
-	fi
-    done
-fi
-
 if ! grep -q "alias wcfxs" ${target}; then
     echo "alias wcfxs wctdm" >> ${target};
 fi;



More information about the zaptel-commits mailing list