clover: Add missing on boot declaration in init.device
This commit is contained in:
parent
9ab6a0161e
commit
c5d68678e7
1 changed files with 5 additions and 5 deletions
|
@ -24,11 +24,7 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
# Set permission for double tap to wake support
|
||||
chown system system /sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode
|
||||
chmod 0660 /sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode
|
||||
|
||||
|
||||
# Set max charge current
|
||||
on property:sys.incall=true
|
||||
write /sys/class/power_supply/battery/constant_charge_current_max 500000
|
||||
|
@ -38,6 +34,10 @@ on property:sys.incall=false
|
|||
|
||||
on boot
|
||||
start macaddress_setup
|
||||
|
||||
# Set permission for double tap to wake support
|
||||
chown system system /sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode
|
||||
chmod 0660 /sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode
|
||||
|
||||
service macaddress_setup /vendor/bin/sh /vendor/bin/init.macaddress_setup.sh
|
||||
class main
|
||||
|
|
Loading…
Reference in a new issue