@@ -102,6 +102,19 @@
cp /image/config.xml /studio/config.xml
/build-custom
rm -rf /studio/overlay-tmp
+if [ -s /etc/modprobe.d/unsupported-modules ] ; then
+ echo "Enabling unsupported modules ..."
+ sed -i s@"allow_unsupported_modules 0"@"allow_unsupported_modules 1"@ /etc/modprobe.d/unsupported-modules
+fi
+if [ -s /etc/dahdi/modules ] ; then
+ echo "Modifing dahdi modules ..."
+ sed -i s@"^"@"#"@g /etc/dahdi/modules
+ if [ -z "`grep ^dahdi /etc/dahdi/modules`" ] ; then
+ echo "Enabling dahdi module ..."
+ echo dahdi >> /etc/dahdi/modules
+ fi
+fi
+suseConfig
true
#======================================
# Configure MySQL database
|