replicant-vendor_replicant/prebuilt/common/etc/init.d/04modules

19 lines
201 B
Plaintext
Raw Normal View History

2010-07-06 03:09:35 +00:00
#!/system/bin/sh
#
# Load any extra modules
MODULES="ipv6"
2010-07-06 03:09:35 +00:00
KVER=`uname -r`
if [ ! -d /system/lib/modules/$KVER ]
then
exit 0
fi
for i in $MODULES
2010-07-06 03:09:35 +00:00
do
modprobe $i >/dev/null 2>&1
2010-07-06 03:09:35 +00:00
done
exit 0