| Index: chromeos_startup
|
| diff --git a/chromeos_startup b/chromeos_startup
|
| index 0b1e6c66675401c6d6f0fa61dadd7f4f47985d27..cf9ac00d26821768df0ef034b45ded4f5ffb8ac2 100755
|
| --- a/chromeos_startup
|
| +++ b/chromeos_startup
|
| @@ -74,6 +74,14 @@ fi
|
| RESET_FILE="/mnt/stateful_partition/factory_install_reset"
|
| if [ -f "$RESET_FILE" ]; then
|
| if [ $(stat -c%u "$RESET_FILE") -eq 0 ]; then
|
| + # Light up screen in case you can't see our splash image.
|
| + LIGHTUP_SCREEN=/usr/sbin/lightup_screen
|
| + if [ -x ${LIGHTUP_SCREEN} ]; then
|
| + ${LIGHTUP_SCREEN}
|
| + else
|
| + echo "${LIGHTUP_SCREEN} does not exist or not executable"
|
| + fi
|
| +
|
| echo "Erasing stateful partition..."
|
| # Show a splash image to inform OPs it is wiping the disk.
|
| if [ -x /usr/bin/ply-image ]; then
|
|
|