]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Don't report fail if mISDN hardware is in use at shutdown.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 20 Jun 2010 11:48:26 +0000 (13:48 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 20 Jun 2010 11:48:26 +0000 (13:48 +0200)
src/initscripts/init.d/mISDN

index e4003a8d59ee001894f37fed5503eadcb025d0c7..49f00b020f86eeecbf873bbd9f9b543176fed20d 100644 (file)
@@ -44,12 +44,8 @@ case "${1}" in
                    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;
                ;;