init: add some commands to silence gps problems

This commit is contained in:
2026-09-28 09:33:31 +02:00
parent 02078d4d77
commit 684915b3b6
+8
View File
@@ -1,3 +1,11 @@
on boot
# More aggressive swappiness should be good.
write /proc/sys/vm/swappiness 100
# For GNSS (GPS)
chown system system /dev/subsys_modem
chmod 0660 /dev/subsys_modem
mkdir /data/misc/location 0770 gps system
mkdir /data/misc/location/xtra 0770 gps system
mkdir /data/misc/location/gpsone_d 0770 gps system
restorecon_recursive /data/misc/location