summaryrefslogtreecommitdiffstats
path: root/init.herring.rc
diff options
context:
space:
mode:
authorSimon Wilson <simonwilson@google.com>2011-04-05 14:36:53 -0700
committerSimon Wilson <simonwilson@google.com>2011-04-05 14:37:07 -0700
commitffca9d050fb8204cba06af4bb6df95db0f628901 (patch)
treec5a8f01bf1026149e8133c766cf89472380731b7 /init.herring.rc
parent0f051de83e15495bacdc881bffc87fbfed3fed60 (diff)
downloaddevice_samsung_crespo-ffca9d050fb8204cba06af4bb6df95db0f628901.zip
device_samsung_crespo-ffca9d050fb8204cba06af4bb6df95db0f628901.tar.gz
device_samsung_crespo-ffca9d050fb8204cba06af4bb6df95db0f628901.tar.bz2
Add 'main' class to services so init will start them
Fixes bug 4132543 Change-Id: I8d243928afddbd859c165d818bf300ac32a1ceea
Diffstat (limited to 'init.herring.rc')
-rwxr-xr-xinit.herring.rc11
1 files changed, 11 insertions, 0 deletions
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