summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2011-11-17 20:55:35 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2011-11-17 20:55:35 +0700
commitf9493ed86178ab62409c460ac2c47f09994e5b07 (patch)
tree6ca0354698ea92abe1ac53f494b4b3b6da0d44e1
parentf819142b444c4b3b36257afc8cb997154dd093c7 (diff)
downloaddevice_samsung_aries-common-f9493ed86178ab62409c460ac2c47f09994e5b07.zip
device_samsung_aries-common-f9493ed86178ab62409c460ac2c47f09994e5b07.tar.gz
device_samsung_aries-common-f9493ed86178ab62409c460ac2c47f09994e5b07.tar.bz2
Fix creating /data/gps
Don't do it before /data/ is mounted Change-Id: I7eb6517229b34af8ec7aab6d66cef079261aa9ce
-rw-r--r--init.aries.rc11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.aries.rc b/init.aries.rc
index 0915969..a460ef9 100644
--- a/init.aries.rc
+++ b/init.aries.rc
@@ -46,11 +46,6 @@ on boot
chown compass input /sys/class/input/input3/shape
chown compass input /sys/class/input/input3/distortion
chown compass input /sys/class/input/input3/threshold
-# create data/gps for GPS demon
- mkdir /data/gps 700 gps system
- chown gps system /data/gps
- chown gps root /sys/class/sec/gps/GPS_PWR_EN/value
- chmod 660 /sys/class/sec/gps/GPS_PWR_EN/value
on fs
mkdir /radio 0775 radio radio
@@ -77,6 +72,12 @@ on fs
# Permissions for System Server and daemons.
chown system system /sys/class/backlight/s5p_bl/brightness
+# create data/gps for GPS demon
+ mkdir /data/gps 700 gps system
+ chown gps system /data/gps
+ chown gps root /sys/class/sec/gps/GPS_PWR_EN/value
+ chmod 660 /sys/class/sec/gps/GPS_PWR_EN/value
+
symlink /datadata /data/data
on post-fs