• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

bootable/newinstaller


Commit MetaInfo

Revisioncab6aba35e3324bf8ad55c7f4f679c34576a1be0 (tree)
Time2009-08-01 01:18:49
AuthorYi Sun <beyounn@gmai...>
CommiterYi Sun

Log Message

remove the code to collect module path

Change Summary

Incremental Difference

--- a/initrd/scripts/0-auto-detect
+++ b/initrd/scripts/0-auto-detect
@@ -115,11 +115,8 @@ find_wifi_dev_name()
115115 {
116116 for wifi in `ls /sys/class/net`; do
117117 w=/sys/class/net/$wifi
118- if [ -d $w/wireless ]; then
119- modname=$(basename $(readlink $w/device/`readlink $w/device/driver`/module))
120- modname=`find /system/lib/modules -name $modname.ko`
121- sed -i "s|\(^ *setprop wlan\.modpath \)\(.*\)|\1$modname|; \
122- s|\(^ *service wpa_supplicant .*\)\(-i.*\)\( -c.*$\)|\1-i $wifi\3|g; \
118+ if [ -d $w/wireless ] || [ -d $w/phy80211 ]; then
119+ sed -i "s|\(^ *service wpa_supplicant .*\)\(-i.*\)\( -c.*$\)|\1-i $wifi\3|g; \
123120 s|\(^ *service dhcpcd /system/bin/dhcpcd \)\(.*\)$|\1$wifi|g" init.rc
124121 break
125122 fi