diff options
author | Martin Liu <liumartin@google.com> | 2023-02-16 08:06:51 +0800 |
---|---|---|
committer | Martin Liu <liumartin@google.com> | 2023-02-16 13:09:39 +0800 |
commit | c04e69ae6233e29924af61339cc186f4fb6eac0c (patch) | |
tree | fbde86f09cc9580face1c91dfb1331690952504b /gs_watchdogd | |
parent | a59d019822c5f5f34e2354d2c18da311e1bb6cac (diff) |
gs_watchdogd: add shutdown critical option
Watchdogd should be alive to complete shutdown
safely. This also aligns the behavior with previous
watchdogd.
Bug: 267080705
Test: boot
Change-Id: Iad85a0d730d032ae57530e0aa6965e2123488b2f
Signed-off-by: Martin Liu <liumartin@google.com>
Diffstat (limited to 'gs_watchdogd')
-rw-r--r-- | gs_watchdogd/init.gs_watchdogd.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gs_watchdogd/init.gs_watchdogd.rc b/gs_watchdogd/init.gs_watchdogd.rc index 450daa1..f58ce50 100644 --- a/gs_watchdogd/init.gs_watchdogd.rc +++ b/gs_watchdogd/init.gs_watchdogd.rc @@ -3,6 +3,7 @@ service gs_watchdogd /system_ext/bin/gs_watchdogd 10 20 class core oneshot seclabel u:r:gs_watchdogd:s0 + shutdown critical on property:vendor.all.devices.ready=1 start gs_watchdogd |