Index: clobber-state |
diff --git a/clobber-state b/clobber-state |
index 8015a227792b307b9d5d839e3dc8fc5b86bec190..b6252247b0f2ead8dfdbce0db6b451c31c1b4c62 100755 |
--- a/clobber-state |
+++ b/clobber-state |
@@ -101,6 +101,11 @@ echo 3 > /proc/sys/vm/drop_caches |
# Do any board specific wiping here. |
# board_factory_wipe.sh will be installed by the board overlay if necessary. |
if [ "$FACTORY_WIPE" = "factory" ]; then |
+ FIRMWARE_WIPE='/usr/sbin/firmware-factory-wipe' |
+ if [ -x "${FIRMWARE_WIPE}" ]; then |
+ ${FIRMWARE_WIPE} |
+ fi |
+ |
BOARD_WIPE=/usr/sbin/board_factory_wipe.sh |
if [ -x "${BOARD_WIPE}" ]; then |
${BOARD_WIPE} |