blob: d95a8ffbb606c17a7e169b9702741b6b53cd757f [file] [log] [blame]
ACTION=="add", SUBSYSTEM=="thermal", KERNEL=="cooling_device?", \
ATTR{type}=="ath10k_thermal", \
RUN+="/bin/chgrp thermald /sys/%p/cur_state", \
RUN+="/bin/chmod 664 /sys/%p/cur_state"
ACTION=="add", SUBSYSTEM=="cpu", TEST{}=="cpufreq/scaling_max_freq", \
RUN+="/bin/chgrp thermald /sys/%p/cpufreq/scaling_max_freq", \
RUN+="/bin/chmod 664 /sys/%p/cpufreq/scaling_max_freq"