summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/reset-handler/reset-handler.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/multitech/reset-handler/reset-handler.sh')
-rwxr-xr-xrecipes-core/multitech/reset-handler/reset-handler.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-core/multitech/reset-handler/reset-handler.sh b/recipes-core/multitech/reset-handler/reset-handler.sh
index 62eeda8..50a6783 100755
--- a/recipes-core/multitech/reset-handler/reset-handler.sh
+++ b/recipes-core/multitech/reset-handler/reset-handler.sh
@@ -35,6 +35,8 @@ do_reboot() {
}
do_restore_defaults() {
+ $log "Removing /var/config contents"
+ rm -rf /var/config/*
$log "Setting restore defaults on reboot"
touch /var/config/force_defaults
$log "Rebooting"