projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a75162d
)
compat-wireless: remove -e from depmod on modlib.sh
author
Luis R. Rodriguez
<mcgrof@frijolero.org>
Wed, 29 Feb 2012 00:56:52 +0000
(16:56 -0800)
committer
Luis 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
patch
|
blob
|
history
diff --git
a/scripts/modlib.sh
b/scripts/modlib.sh
index 91e53f1304957fffe313539c2e4e2602bbe11c8e..d839a37e3f39a6bf18506410e08fea4642d1e106 100755
(executable)
--- a/
scripts/modlib.sh
+++ b/
scripts/modlib.sh
@@
-39,7
+39,7
@@
function module_disable {
echo -en "Disabling $MODULE ..."
fi
mv -f $i ${i}${IGNORE_SUFFIX}
- depmod -a
e
+ 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 -a
e
+ depmod -a
CHECK=`modprobe -l $MODULE`
if [ "$DIR/$MODULE_KO" != $CHECK ]; then
if [ -z $CHECK ]; then