summaryrefslogtreecommitdiff
path: root/conf/init.gs201.rc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/init.gs201.rc')
-rw-r--r--conf/init.gs201.rc39
1 files changed, 19 insertions, 20 deletions
diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc
index 3c92df1..08ab453 100644
--- a/conf/init.gs201.rc
+++ b/conf/init.gs201.rc
@@ -212,26 +212,6 @@ on init
chown system system /dev/nanohub
chown system system /dev/nanohub_comms
- # logbuffer
- chown system system /dev/logbuffer_maxfg
- chown system system /dev/logbuffer_maxfg_base
- chown system system /dev/logbuffer_maxfg_flip
- chown system system /dev/logbuffer_maxfg_monitor
- chown system system /dev/logbuffer_maxfg_base_monitor
- chown system system /dev/logbuffer_maxfg_flip_monitor
- chown system system /dev/logbuffer_maxq
- chown system system /dev/logbuffer_google,cpm
- chown system system /dev/logbuffer_rtx
- chown system system /dev/logbuffer_ssoc
- chown system system /dev/logbuffer_ttf
- chown system system /dev/logbuffer_tcpm
- chown system system /dev/logbuffer_usbpd
- chown system system /dev/logbuffer_pogo_transport
- chown system system /dev/logbuffer_wireless
- chown system system /dev/logbuffer_pca9468
- chown system system /dev/logbuffer_cpm
- chown system system /dev/logbuffer_bd
-
# Dump maxfg
chown system system /sys/class/power_supply/maxfg/m5_model_state
chown system system /sys/class/power_supply/maxfg_base/m5_model_state
@@ -465,6 +445,25 @@ on early-boot
chown system system /dev/battery_history
chmod 0644 /dev/battery_history
+ # Permission for logbuffer
+ chown system system /dev/logbuffer_maxfg
+ chown system system /dev/logbuffer_maxfg_base
+ chown system system /dev/logbuffer_maxfg_flip
+ chown system system /dev/logbuffer_maxfg_monitor
+ chown system system /dev/logbuffer_maxfg_base_monitor
+ chown system system /dev/logbuffer_maxfg_flip_monitor
+ chown system system /dev/logbuffer_maxq
+ chown system system /dev/logbuffer_rtx
+ chown system system /dev/logbuffer_ssoc
+ chown system system /dev/logbuffer_ttf
+ chown system system /dev/logbuffer_tcpm
+ chown system system /dev/logbuffer_usbpd
+ chown system system /dev/logbuffer_pogo_transport
+ chown system system /dev/logbuffer_wireless
+ chown system system /dev/logbuffer_pca9468
+ chown system system /dev/logbuffer_cpm
+ chown system system /dev/logbuffer_bd
+
on boot
# Allow to access debugfs for system:system