this is not really a problem, but I would like to get your opinion on the following:
which is the best method (and also safe
I've just been able to autoload the module (and also avoid the pop-up asking to configure the net
/mtd_rwarea/network_opt/etc/init.d/usb_usbmount_before/0_20_network_module_reload.init
whose content is:
- Code: Select all
#!/bin/sh
NET_MODULE_PATH="/mtd_rwarea/network_opt/lib/modules"
/sbin/rmmod rt3572sta
if [ -f $NET_MODULE_PATH/rt3370sta.ko ] ; then
/sbin/insmod $NET_MODULE_PATH/rt3370sta.ko >> $OPT/network_module_reload_ok
echo "network_module_rt3370sta.ko_ok" >> $OPT/network_module_reload_ok
else
echo "network_module_rt3370sta.ko_NOT_FOUND!!!!!!!!" >> $OPT/network_module_reload_ok
fi
Do you have any comment/suggestion to increase the robustness of this method?
thaks
Luk
