From 7562f3f12a716cd4f72184c32723d2279090f056 Mon Sep 17 00:00:00 2001 From: Jeong-Seok Yang Date: Tue, 7 Sep 2010 22:08:26 -0700 Subject: S5PC11X: BT/LCD: Change location of chown & chmod to upper than service chown and chmod command is not effected when lower than service. So, Its location is changed to upper than service. It was aligned better additionally. Change-Id: I4c8210c7878d8b8942a784f7a613a0d6023eaa27 Signed-off-by: Jeong-Seok Yang --- init.smdkc110.rc | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/init.smdkc110.rc b/init.smdkc110.rc index 32cccb7..b44be0b 100755 --- a/init.smdkc110.rc +++ b/init.smdkc110.rc @@ -35,15 +35,9 @@ on boot chown root system /sys/class/gpio/gpio105/value chmod 664 /sys/class/gpio/gpio105/value -service glgps /system/bin/gpsd/glgps_samsungJupiter -c /system/etc/jupiter.xml - user system - group system inet - -# 3D init -service pvrsrvinit /system/bin/pvrsrvinit - user root - group root - oneshot +on fs + mkdir /efs 0775 radio radio + mount yaffs2 mtd@efs /efs nosuid nodev # permissions for bluetooth. chown bluetooth bluetooth ro.bt.bdaddr_path @@ -53,17 +47,27 @@ service pvrsrvinit /system/bin/pvrsrvinit chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type +# Permissions for System Server and daemons. + chown system system /sys/class/backlight/s5p_bl/brightness + +service glgps /system/bin/gpsd/glgps_samsungJupiter -c /system/etc/jupiter.xml + user system + group system inet + +# 3D init +service pvrsrvinit /system/bin/pvrsrvinit + user root + group root + oneshot + service wpa_supplicant /system/bin/wpa_supplicant -Dwext -ieth0 -c/data/misc/wifi/wpa_supplicant.conf - socket wpa_eth0 dgram 0660 wifi wifi - disabled - oneshot + socket wpa_eth0 dgram 0660 wifi wifi + disabled + oneshot service dhcpcd /system/bin/dhcpcd -ABKL - disabled - oneshot - -# Permissions for System Server and daemons. - chown system system /sys/class/backlight/s5p_bl/brightness + disabled + oneshot service hciattach /system/bin/bcm_attach -d --enable_hci \ --baudrate 921600 --patchram system/etc/firmware/bcm4329.hcd /dev/s3c2410_serial0 @@ -73,6 +77,6 @@ service hciattach /system/bin/bcm_attach -d --enable_hci \ oneshot # sensor service - service akmd8973 /system/bin/akmd8973 - enabled - oneshot + service akmd8973 /system/bin/akmd8973 + enabled + oneshot -- cgit v1.1