diff options
author | Colin Cross <ccross@android.com> | 2012-08-08 13:08:16 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2012-08-08 13:31:53 -0700 |
commit | 31a2d7a89b8049608ad5d1cf68db4016a382fcac (patch) | |
tree | 9585bd92e25b753cd96d50a39159739791f67dbe /init.recovery.manta.rc | |
parent | 9c0986c4cab4887c870fa2aee117932df35a538f (diff) | |
download | manta-31a2d7a89b8049608ad5d1cf68db4016a382fcac.tar.gz |
recovery: start watchdogd when in recovery
Start watchdogd from init.recovery.manta.rc to prevent rebooting 30
seconds after boot.
Bug: 6953625
Change-Id: I495e67f6e47e3805cb21707cbd35e5eabe17eb57
Diffstat (limited to 'init.recovery.manta.rc')
-rw-r--r-- | init.recovery.manta.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/init.recovery.manta.rc b/init.recovery.manta.rc new file mode 100644 index 0000000..78cc71b --- /dev/null +++ b/init.recovery.manta.rc @@ -0,0 +1,6 @@ +on init + start watchdogd + +# Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin +service watchdogd /sbin/watchdogd 10 20 + class core |