android_device_samsung_c1-c.../init.c1.rc

46 lines
1.0 KiB
Plaintext
Raw Normal View History

2011-06-05 15:39:34 +00:00
on boot
2011-06-10 22:05:04 +00:00
setprop ro.build.product smdkc210
setprop ro.product.device smdkc210
setprop ro.radio.noril yes
# fake some battery state
setprop status.battery.state Slow
setprop status.battery.level 5
setprop status.battery.level_raw 50
setprop status.battery.level_scale 9
# wi-fi
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/dhcp 0770 dhcp dhcp
# DHCPCD
# wi-fi
service dhcpcd_eth0 /system/bin/dhcpcd -ABKL eth0
2011-06-05 15:39:34 +00:00
disabled
oneshot
2011-06-10 22:05:04 +00:00
# IP Renew
# wi-fi
service iprenew_eth0 /system/bin/dhcpcd -n
disabled
2011-06-05 15:39:34 +00:00
oneshot
2011-06-10 22:05:04 +00:00
service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \
--baudrate 3000000 --patchram /system/bin/BCM4330B1_002.001.003.0043.0077.hcd /dev/s3c2410_serial0
user bluetooth
2011-06-05 15:39:34 +00:00
group bluetooth net_bt_admin
disabled
oneshot
2011-06-10 22:05:04 +00:00
service dumpstate /system/bin/dumpstate -s
socket dumpstate stream 0660 shell log
2011-06-05 15:39:34 +00:00
disabled
oneshot
service tvout /system/bin/tvoutserver
user system
group graphics
2011-06-10 22:05:04 +00:00
start tvout