| commit | 7896e7adccbd272533ee2250f4a9c65cd4ca66d0 | [log] [tgz] |
|---|---|---|
| author | Tom Cherry <tomcherry@google.com> | Wed Sep 04 15:26:52 2019 -0700 |
| committer | Tom Cherry <tomcherry@google.com> | Wed Sep 04 16:23:15 2019 -0700 |
| tree | 83a7b6e1c74b5e49d4a34a5ee7661b07dc80eff6 | |
| parent | a9ffef27e137458f8b12b10df2eeca58b99074ed [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