summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-05-03 14:15:50 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-05-03 14:15:50 +0200
commitaa23e1ebbee8f7de2e55a972ec9e0b4847f03017 (patch)
treeb5d73f93d88cc1988c9ba0f5aac8f4878c405aa6 /rootdir
parent20cfe471df22bc8b6a0dc1b224668364dc86c6c1 (diff)
downloaddevice_goldelico_gta04-aa23e1ebbee8f7de2e55a972ec9e0b4847f03017.zip
device_goldelico_gta04-aa23e1ebbee8f7de2e55a972ec9e0b4847f03017.tar.gz
device_goldelico_gta04-aa23e1ebbee8f7de2e55a972ec9e0b4847f03017.tar.bz2
ueventd.gta04.rc: Sysfs permissions belong in init.gta04.rc
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.gta04.rc4
-rw-r--r--rootdir/ueventd.gta04.rc3
2 files changed, 5 insertions, 2 deletions
diff --git a/rootdir/init.gta04.rc b/rootdir/init.gta04.rc
index 2d14556..e3d12da 100644
--- a/rootdir/init.gta04.rc
+++ b/rootdir/init.gta04.rc
@@ -45,6 +45,10 @@ on boot
chown system audio /sys/class/gpio/gpio55/value
chmod 0660 /sys/class/gpio/gpio55/value
+ # GPS
+ chown gps gps /sys/class/switch/gps_antenna/state
+ chmod 0660 /sys/class/switch/gps_antenna/state
+
on fs
mount_all /fstab.gta04
diff --git a/rootdir/ueventd.gta04.rc b/rootdir/ueventd.gta04.rc
index 2188b41..b93d5ca 100644
--- a/rootdir/ueventd.gta04.rc
+++ b/rootdir/ueventd.gta04.rc
@@ -17,5 +17,4 @@
# GPS
-/dev/ttyO1 0660 gps gps
-/sys/class/switch/gps_antenna/state 0660 gps gps
+/dev/ttyO1 0660 gps gps