OSDN Git Service

moved kernel config from kernel directory
[android-x86/device-viliv-s5.git] / init.s5.sh
1 #!/system/bin/sh
2
3 #turn on wifi
4 /system/bin/s5_onoff 0x7 0x1
5
6 # no sleep!
7 echo s5NoSleep > /sys/power/wake_lock
8
9 #turn on BT
10 usleep 10000
11 /system/bin/s5_onoff 0x2 0x1
12
13 #netcfg eth0 dhcp
14 #setprop net.dns1 4.2.2.2
15
16 ## For wifi, we'll need this:
17
18 # insmod ath_hal.ko
19 # insmod wlan.ko
20 # insmod wlan_scan_sta.ko
21 # insmod ath_rate_sample.ko
22 # insmod ath_pci.ko