Tested on postmarketOS and Debian. Need to change filename so all rules are applied. Signed-off-by: Anjandev Momi <anjan@momi.ca>
6 lines
438 B
Text
6 lines
438 B
Text
#!/sbin/openrc-run
|
|
|
|
description="Enable user access to pinephone hardware kernel interface"
|
|
|
|
command="chmod"
|
|
command_args="a+rw /sys/module/8723cs/parameters/rtw_scan_interval_thr /sys/power/state /sys/devices/platform/soc/1f00000.rtc/power/wakeup /sys/power/mem_sleep /sys/bus/usb/drivers/usb/unbind /sys/bus/usb/drivers/usb/bind /dev/rtc0 /sys/devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/power/wakeup /sys/class/wakeup/*"
|