init: remove unnecessary things from init script
This commit is contained in:
@@ -1,15 +1,3 @@
|
||||
on boot
|
||||
# More aggressive swappiness should be good.
|
||||
write /proc/sys/vm/swappiness 100
|
||||
# TODO: see if the following three are required
|
||||
chown system system /sys/class/leds/red/blink
|
||||
chown system system /sys/class/leds/green/blink
|
||||
# Enable Focaltech touch controller auto firmware update
|
||||
write /sys/bus/i2c/drivers/ft5x06_ts/5-0038/update_fw 1
|
||||
|
||||
# Allow usb charging to be disabled persistently
|
||||
on property:persist.usb.chgdisabled=1
|
||||
write /sys/class/power_supply/battery/charging_enabled 0
|
||||
|
||||
on property:persist.usb.chgdisabled=0
|
||||
write /sys/class/power_supply/battery/charging_enabled 1
|
||||
|
||||
Reference in New Issue
Block a user