harbour-batterybuddy/service/set-write-permissions.sh
2020-03-20 17:27:38 +02:00

5 lines
224 B
Bash
Executable file

#!/bin/bash
chmod 666 /sys/class/power_supply/battery/input_suspend 2>/dev/null
chmod 666 /sys/class/power_supply/battery/charging_enabled 2>/dev/null
chmod 666 /sys/class/power_supply/usb/charger_disable 2>/dev/null
exit 0