diff options
Diffstat (limited to 'dahdi.init')
-rwxr-xr-x | dahdi.init | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -8,6 +8,17 @@ # # 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 # Don't edit the following values. Edit /etc/dahdi/init.conf instead. @@ -149,6 +160,9 @@ RETVAL=0 # 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? |