commit | f66b74f820c9ecfb09dc45b88dae1fc3b73b61ea | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Wed Sep 04 15:26:52 2019 -0700 |
committer | Tobias Thierer <tobiast@google.com> | Thu Sep 05 22:23:21 2019 +0100 |
tree | 4f3694b79ae1d17128c037817fef21dafc5ddba4 | |
parent | 4ca51f2e083143d07ddb16fe1597b9f5aa22bfe4 [diff] |
init: add exec_reboot_on_failure builtin Add exec_reboot_on_failure builtin and refactor the VDC commands that had similar functionality. These will now also reboot in the case that the program cannot be found or run for any reason. Test: boots normally, reboots if command is not found or if command returns status '1' Change-Id: I1c99498c2b741512a50188e1a325c25e9ec8fba0 (cherry picked from commit 7896e7adccbd272533ee2250f4a9c65cd4ca66d0)