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 e4003a8..49f00b0 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;
                ;;