commit | 58111749eb6d12ff8ef6924ad7477e04ad2e861c | [log] [tgz] |
---|---|---|
author | Chris Fries <cfries@google.com> | Fri Jul 27 16:45:25 2018 -0500 |
committer | Jason Chiu <jasoncschiu@google.com> | Fri Feb 22 18:13:05 2019 +0000 |
tree | 54e38c9afa017a99400876b12da47f589bb612b5 | |
parent | 55e3c090add29139aa979f46bf2ec1075221f997 [diff] |
Add init.firstboot.sh, for factory use case In the factory they need an automated way to shut down the device after setupwizard finishes, but we also don't want to let them talk to Android over USB on a user / locked device. When bootmode is "firstboot" (Set by bootloader), the device will wait for USB cable to be disconnected, then shut down. Bug: 110896488 Change-Id: Ic0b7d65cfc8727c74be507a858f32a68199d5fee Merged-In: Ib09460b242a7c2149f816f8a13cca698e02745e7