Home | History | Annotate | Download | only in fugu
      1 on init
      2 
      3     # 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
      8 
      9 # interval:60s margin:20s
     10 service watchdogd /sbin/watchdogd 60 20
     11     oneshot
     12     seclabel u:r:watchdogd:s0
     13 
     14 # Reset the watchdog counter once boot is completed
     15 on property:init.svc.recovery=running
     16     write /sys/devices/virtual/misc/watchdog/counter "0"
     17