summaryrefslogtreecommitdiff
path: root/init.recovery.fugu.rc
blob: b7a57317954b5d6fe05139f8835b5d6eb8a1f76e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
on init

    # Android creates by-name disk links with the disk controller
    # in the generated path, so that the names pulled out of the GPT
    # can be associated with the correct disk. Create a shortcut to
    # /dev/block/by-name so that we can use the same fstabs everywhere.
    symlink /dev/block/pci/pci0000:00/0000:00:01.0/by-name /dev/block/by-name

# interval:60s margin:20s
service watchdogd /sbin/watchdogd 60 20
    oneshot
    seclabel u:r:watchdogd:s0

# Reset the watchdog counter once boot is completed
on property:init.svc.recovery=running
    write /sys/devices/virtual/misc/watchdog/counter "0"