[moblab] Improve debugging in the upstart scripts
Move all the init script to start with moblab*
Add new upstart handler that logs all the events and return
codes to moblab*
Set -e on scripts so we try to exit as quickly as possible on
script errors
Add ethtool command because -e will not exit when in an if or
in a piped command - but we want it to fail quickly.
BUG=chromium:819695
TEST=tryjobs on both vm and guado_moblab
Change-Id: Iaba4f11c0ce14c2cbe7e1944bc0f451fe9ad1881
Reviewed-on: https://chromium-review.googlesource.com/957865
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
18 files changed