]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/initscripts/init.d/mISDN
OpenVPN converter: Fix coding style and verbose output.
[people/teissler/ipfire-2.x.git] / src / initscripts / init.d / mISDN
index 1d599ae4bff40edf5fa139c01cd72f3ffa03c2d5..49f00b020f86eeecbf873bbd9f9b543176fed20d 100644 (file)
@@ -6,7 +6,7 @@
 #
 # Authors     : Arne Fitzenreiter - arne_f@ipfire.org
 #
-# Version     : 00.00
+# Version     : 01.00
 #
 # Notes       :
 #
@@ -21,11 +21,12 @@ case "${1}" in
                boot_mesg "Starting mISDNv2 ... "
 
                # load mISDN modules
-               for module in mISDN_core hfcpci hfcsusb hfcmulti xhfc; do
+               for module in mISDN_core hfcpci hfcsusb hfcmulti avmfritz speedfax mISDNinfineon xhfc; do
                    modprobe $module > /dev/null 2>&1;
                done
 
                modprobe mISDN_dsp
+               modprobe mISDN_dsp_oslec
                if [ ${?} = 0 ]; then
                    echo_ok;
                else
@@ -39,16 +40,22 @@ case "${1}" in
                boot_mesg "Stopping mISDNv2 ... "
 
                # unload mISDN hardware modules
-               for module in mISDN_dsp hfcpci hfcsusb hfcmulti xhfc; do
+               for module in mISDN_dsp_oslec mISDN_dsp hfcpci hfcsusb hfcmulti avmfritz speedfax mISDNinfineon xhfc mISDNipac mISDNisar; do
                    rmmod $module > /dev/null 2>&1;
                done
 
-               rmmod mISDN_core
-               if [ ${?} = 0 ]; then
-                   echo_ok;
-               else
-                   echo_failure;
-               fi
+               rmmod mISDN_core > /dev/null 2>&1
+               echo_ok;
+               exit 0;
+               ;;
+
+       config)
+               boot_mesg "mISDNv2 - config not needed!"
+               exit 0;
+               ;;
+
+       scan)
+               boot_mesg "mISDNv2 - scan not supported!"
                exit 0;
                ;;