cat /sys/devices/virtual/wmi/*/modalias | dev2mod
}
- find_network_dev_name()
-load_uvesafb()
--{
- INITRC=init.x86.rc
- DHCPCD="/system/bin/dhcpcd -o domain_name_servers"
- rmline=`grep -n "#REMOVE FROM HERE" $INITRC | cut -d':' -f1`
- rmline=`expr $rmline + 1`
- sed -i -e "$rmline,\$d" $INITRC
- for netdev in `ls /sys/class/net`; do
- case "$netdev" in
- lo|ip6tnl*|sit*|tun*|eth0|wlan0|wmaster*)
- ;;
- *)
- echo -e "\nservice dhcpcd_$netdev $DHCPCD -ABDKL\n class main\n disabled\n oneshot\n" >> $INITRC
- echo -e "service iprenew_$netdev $DHCPCD -n\n class main\n disabled\n oneshot" >> $INITRC
- ;;
- esac
- done
- [ -x /sbin/v86d ] || ln -s ../android/sbin/v86d /sbin
- [ -c /dev/fb0 ] || modprobe uvesafb mode_option=${UVESA_MODE:-800x600}-16 ${UVESA_OPTION:-mtrr=3 scroll=redraw}
--}
--
load_modules()
{
- if [ -n "$FOUND" ]; then
- [ -n "$PREDEV" ] && modprobe $PREDEV
- [ -n "$FB0DEV" -a -z "$UVESA_MODE" ] && modprobe $FB0DEV
- [ -n "$LANDEV" ] && modprobe $LANDEV
- [ -n "$WIFDEV" ] && modprobe $WIFDEV
- [ -n "$SNDDEV" ] && modprobe $SNDDEV
- [ -n "$CAMDEV" ] && modprobe $CAMDEV
- else
+ if [ -z "$FOUND" ]; then
auto_detect
fi