[dahdi-commits] tzafrir: tools/trunk r5334 - /tools/trunk/dahdi.init

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Wed Nov 19 15:16:35 CST 2008


Author: tzafrir
Date: Wed Nov 19 15:16:35 2008
New Revision: 5334

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5334
Log:
LSB init script comments.

Modified:
    tools/trunk/dahdi.init

Modified: tools/trunk/dahdi.init
URL: http://svn.digium.com/view/dahdi/tools/trunk/dahdi.init?view=diff&rev=5334&r1=5333&r2=5334
==============================================================================
--- tools/trunk/dahdi.init (original)
+++ tools/trunk/dahdi.init Wed Nov 19 15:16:35 2008
@@ -7,6 +7,17 @@
 # computer to accept incoming data and voice interfaces
 #
 # config: /etc/dahdi/init.conf
+
+### BEGIN INIT INFO
+# Provides:        dahdi
+# Required-Start:  $local_fs $remote_fs
+# Required-Stop:
+# Should-Start:    $network $syslog
+# Should-Stop:
+# Default-Start:   2 3 4 5
+# Default-Stop:    0 1 6
+# Description:     dahdi - load and configure DAHDI modules
+### END INIT INFO
 
 initdir=/etc/init.d
 
@@ -149,6 +160,9 @@
 # See how we were called.
 case "$1" in
   start)
+  	# Some systems, e.g. Debian Lenny, add here -b, which will break
+	# loading of modules blacklisted in modprobe.d/* 
+	unset MODPROBE_OPTIONS
   	modules=`sed -e 's/#.*$//' $DAHDI_MODULES_FILE 2>/dev/null`
 	#if [ "$modules" = '' ]; then
 		# what?




More information about the dahdi-commits mailing list