|
From: <abe...@us...> - 2014-08-27 13:35:15
|
Revision: 6671
http://sourceforge.net/p/astlinux/code/6671
Author: abelbeck
Date: 2014-08-27 13:35:08 +0000 (Wed, 27 Aug 2014)
Log Message:
-----------
rc.conf, add variable ASTERISK_DAHDI_DISABLE, when 'yes' will disable Asterisk and DAHDI
Modified Paths:
--------------
branches/1.0/package/asterisk/asterisk.init
branches/1.0/package/dahdi-tools/dahdi.init
branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf
Modified: branches/1.0/package/asterisk/asterisk.init
===================================================================
--- branches/1.0/package/asterisk/asterisk.init 2014-08-26 20:43:13 UTC (rev 6670)
+++ branches/1.0/package/asterisk/asterisk.init 2014-08-27 13:35:08 UTC (rev 6671)
@@ -178,6 +178,11 @@
fi
}
+if [ "$ASTERISK_DAHDI_DISABLE" = "yes" ]; then
+ echo "Disabled: Asterisk"
+ exit
+fi
+
case $1 in
init)
Modified: branches/1.0/package/dahdi-tools/dahdi.init
===================================================================
--- branches/1.0/package/dahdi-tools/dahdi.init 2014-08-26 20:43:13 UTC (rev 6670)
+++ branches/1.0/package/dahdi-tools/dahdi.init 2014-08-27 13:35:08 UTC (rev 6671)
@@ -55,6 +55,11 @@
done
}
+if [ "$ASTERISK_DAHDI_DISABLE" = "yes" ]; then
+ echo "Disabled: DAHDI"
+ exit
+fi
+
case $1 in
init)
Modified: branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf
===================================================================
--- branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2014-08-26 20:43:13 UTC (rev 6670)
+++ branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2014-08-27 13:35:08 UTC (rev 6671)
@@ -988,6 +988,9 @@
##
#DIALING_PREFIX_NUMBERS="00~0~49~"
+## Disable Asterisk and DAHDI when set to "yes", defaults to "no"
+#ASTERISK_DAHDI_DISABLE="no"
+
## Asterisk Verbose Logging Support
## This will automatically set the verbosity level after Asterisk
## starts up.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|