diff options
author | Alexy Shin <alexy.shin@samsung.com> | 2010-10-09 04:09:22 +0900 |
---|---|---|
committer | Mike Lockwood <lockwood@google.com> | 2010-10-08 16:45:29 -0400 |
commit | a8be4ac6672e1461958749d2c4eed16528c152b7 (patch) | |
tree | 06f843acc220edd164f5f2aa5c00086c21856f9a /init.herring.rc | |
parent | f13282cadba4e5b953ecb396e6a2dea367bed9d3 (diff) | |
download | device_samsung_crespo-a8be4ac6672e1461958749d2c4eed16528c152b7.zip device_samsung_crespo-a8be4ac6672e1461958749d2c4eed16528c152b7.tar.gz device_samsung_crespo-a8be4ac6672e1461958749d2c4eed16528c152b7.tar.bz2 |
GPS: apply GPS final permission
Change GPS permission reviewed with Mike Lookwood
Change-Id: I8a3afd5be3484d8eb0d36b803977acd17f251ebe
Diffstat (limited to 'init.herring.rc')
-rwxr-xr-x | init.herring.rc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/init.herring.rc b/init.herring.rc index af457c9..b2b1b52 100755 --- a/init.herring.rc +++ b/init.herring.rc @@ -22,9 +22,9 @@ on boot # create data/gps for GPS demon chown root system /dev/s3c2410_serial1 chmod 664 /dev/s3c2410_serial1 - mkdir /data/gps 771 system system - chown system system /data/gps - chown root system /sys/class/sec/gps/GPS_PWR_EN/value + mkdir /data/gps 700 gps system + chown gps system /data/gps + chown gps root /sys/class/sec/gps/GPS_PWR_EN/value chmod 664 /sys/class/sec/gps/GPS_PWR_EN/value chown root system /sys/class/gpio/gpio104/value chmod 664 /sys/class/gpio/gpio104/value @@ -98,8 +98,9 @@ on fs chown system system /sys/class/backlight/s5p_bl/brightness service gpsd /system/vendor/bin/gpsd -c /vendor/etc/gps.xml - user system - group system inet + socket gps seqpacket 0660 gps system + user gps + group inet # create filesystems if necessary service setup_fs /system/bin/setup_fs /dev/block/platform/s3c-sdhci.0/by-name/userdata |