blob: 442540dd1c49536218e17a528ad1ba00852a3571 [file] [log] [blame]
Florent Auger3cc609c2014-07-23 18:02:22 +02001on init
2 start partlink
3 wait /dev/block/platform/intel/by-label/userdata 1
4
5 chown system system /usr/bin/ia_watchdogd
6 chmod 0750 /usr/bin/ia_watchdogd
7
8service partlink /sbin/partlink
9 oneshot
10
11service watchdogd /usr/bin/ia_watchdogd
12 user system
13 group system
14 oneshot
15
16# Reset the watchdog counter once boot is completed
17on property:init.svc.recovery=running
18 write /sys/devices/virtual/misc/watchdog/counter "0"