summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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