diff options
Diffstat (limited to 'recipes-core')
-rwxr-xr-x | recipes-core/multitech/reset-handler/reset-handler.sh | 2 | ||||
-rw-r--r-- | recipes-core/multitech/reset-handler_1.0.bb | 2 |
2 files changed, 3 insertions, 1 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" diff --git a/recipes-core/multitech/reset-handler_1.0.bb b/recipes-core/multitech/reset-handler_1.0.bb index 4342bdd..13dec93 100644 --- a/recipes-core/multitech/reset-handler_1.0.bb +++ b/recipes-core/multitech/reset-handler_1.0.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Default reset button handler" SECTION = "base" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -PR = "r0" +PR = "r1" inherit update-rc.d |