Merge "cm: slight check on modules load" into gingerbread

This commit is contained in:
Steve Kondik 2011-01-30 19:09:33 +00:00 committed by Gerrit Code Review
commit e49abc286e

View File

@ -4,7 +4,15 @@
MODULES="ipv6" MODULES="ipv6"
for i in $MODULES; KVER=`uname -r`
if [ ! -d /system/lib/modules/$KVER ]
then
exit 0
fi
for i in $MODULES
do do
modprobe $i; modprobe $i >/dev/null 2>&1
done done
exit 0