compat-wireless: remove -e from depmod on modlib.sh
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 29 Feb 2012 00:56:52 +0000 (16:56 -0800)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 29 Feb 2012 00:56:52 +0000 (16:56 -0800)
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
scripts/modlib.sh

index 91e53f1304957fffe313539c2e4e2602bbe11c8e..d839a37e3f39a6bf18506410e08fea4642d1e106 100755 (executable)
@@ -39,7 +39,7 @@ function module_disable {
                        echo -en "Disabling $MODULE ..."
                fi
                mv -f $i ${i}${IGNORE_SUFFIX}
-               depmod -ae
+               depmod -a
                CHECK_AGAIN=`modprobe -l $MODULE`
                if [ "$CHECK" != "$CHECK_AGAIN" ]; then
                        echo -e "\t[OK]\tModule disabled:"
@@ -65,7 +65,7 @@ function module_enable {
                echo -en "Enabling $MODULE ..."
                DIR=`dirname $i`
                mv $i $DIR/$MODULE_KO
-               depmod -ae
+               depmod -a
                CHECK=`modprobe -l $MODULE`
                if [ "$DIR/$MODULE_KO" != $CHECK ]; then
                        if [ -z $CHECK ]; then