Florent Auger | 3cc609c | 2014-07-23 18:02:22 +0200 | [diff] [blame^] | 1 | on 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 | |||||
8 | service partlink /sbin/partlink | ||||
9 | oneshot | ||||
10 | |||||
11 | service watchdogd /usr/bin/ia_watchdogd | ||||
12 | user system | ||||
13 | group system | ||||
14 | oneshot | ||||
15 | |||||
16 | # Reset the watchdog counter once boot is completed | ||||
17 | on property:init.svc.recovery=running | ||||
18 | write /sys/devices/virtual/misc/watchdog/counter "0" |