From ffca9d050fb8204cba06af4bb6df95db0f628901 Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Tue, 5 Apr 2011 14:36:53 -0700 Subject: Add 'main' class to services so init will start them Fixes bug 4132543 Change-Id: I8d243928afddbd859c165d818bf300ac32a1ceea --- init.herring.rc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'init.herring.rc') diff --git a/init.herring.rc b/init.herring.rc index ff9fab3..fd5049c 100755 --- a/init.herring.rc +++ b/init.herring.rc @@ -63,6 +63,7 @@ on fs chown system system /sys/class/backlight/s5p_bl/brightness service gpsd /system/vendor/bin/gpsd -c /vendor/etc/gps.xml + class main socket gps seqpacket 0660 gps system user gps group system inet @@ -82,6 +83,7 @@ service pvrsrvinit /system/vendor/bin/pvrsrvinit oneshot service wpa_supplicant /system/bin/wpa_supplicant -Dwext -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf + class main socket wpa_wlan0 dgram 0660 wifi wifi disabled oneshot @@ -89,36 +91,43 @@ service wpa_supplicant /system/bin/wpa_supplicant -Dwext -iwlan0 -c/data/misc/wi # DHCPCD # wi-fi service dhcpcd_wlan0 /system/bin/dhcpcd -ABKL + class main disabled oneshot # wimax service dhcpcd_uwbr0 /system/bin/dhcpcd -ABKL + class main disabled oneshot # bluetooth service dhcpcd_bnep0 /system/bin/dhcpcd -ABKL + class main disabled oneshot # IP Renew # wi-fi service iprenew_wlan0 /system/bin/dhcpcd -n + class main disabled oneshot # wimax service iprenew_uwbr0 /system/bin/dhcpcd -n + class main disabled oneshot # bluetooth service iprenew_bnep0 /system/bin/dhcpcd -n + class main disabled oneshot service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \ + class main --baudrate 3000000 --patchram /vendor/firmware/bcm4329.hcd /dev/s3c2410_serial0 user bluetooth group bluetooth net_bt_admin @@ -127,10 +136,12 @@ service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \ # bugreport is triggered by holding down volume down, volume up and power service bugreport /system/bin/dumpstate -d -v -o /sdcard/bugreports/bugreport + class main disabled oneshot keycodes 114 115 116 service wimax_route /system/bin/route add default dev uwbr0 + class main disabled oneshot -- cgit v1.1