blob: b7a57317954b5d6fe05139f8835b5d6eb8a1f76e [file] [log] [blame]
Florent Auger3cc609c2014-07-23 18:02:22 +02001on init
Florent Auger3cc609c2014-07-23 18:02:22 +02002
Jeremy Compostella17057032014-08-05 14:08:36 +02003 # Android creates by-name disk links with the disk controller
4 # in the generated path, so that the names pulled out of the GPT
5 # can be associated with the correct disk. Create a shortcut to
6 # /dev/block/by-name so that we can use the same fstabs everywhere.
7 symlink /dev/block/pci/pci0000:00/0000:00:01.0/by-name /dev/block/by-name
Florent Auger3cc609c2014-07-23 18:02:22 +02008
Thierry Strudel34d16122014-09-01 00:28:14 -07009# interval:60s margin:20s
10service watchdogd /sbin/watchdogd 60 20
Florent Auger3cc609c2014-07-23 18:02:22 +020011 oneshot
Thierry Strudel34d16122014-09-01 00:28:14 -070012 seclabel u:r:watchdogd:s0
Florent Auger3cc609c2014-07-23 18:02:22 +020013
14# Reset the watchdog counter once boot is completed
15on property:init.svc.recovery=running
16 write /sys/devices/virtual/misc/watchdog/counter "0"