diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-11-19 21:16:35 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-11-19 21:16:35 +0000 |
commit | 047099d822f885478dfb94ce8dbe45d379f0e8b0 (patch) | |
tree | 1cc1fe3dcab8ccec27e660305d155b0f3393c789 /dahdi.init | |
parent | 2a3f841852af6f57374a86a675818f563f756962 (diff) |
LSB init script comments.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5334 a0bf4364-ded3-4de4-8d8a-66a801d63aff
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? |