From 585d954ec186cdf530bc5fb922e8bbd5f120a9fd Mon Sep 17 00:00:00 2001 From: riptidewave93 Date: Thu, 22 Oct 2015 05:30:32 -0500 Subject: [PATCH] Remove rc.button reset fix This is probably not needed anymore --- .../base-files/files/etc/rc.button/reset | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 overlay/package/base-files/files/etc/rc.button/reset diff --git a/overlay/package/base-files/files/etc/rc.button/reset b/overlay/package/base-files/files/etc/rc.button/reset deleted file mode 100644 index c6dc7cf..0000000 --- a/overlay/package/base-files/files/etc/rc.button/reset +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -. /lib/functions.sh - -case "$ACTION" in -pressed) - return 5 -;; -timeout) - . /etc/diag.sh - set_state failsafe -;; -released) - if [ "$SEEN" -lt 1 ] - then - echo "REBOOT" > /dev/console - sync - reboot - elif [ "$SEEN" -gt 5 ] - then - echo "FACTORY RESET" > /dev/console - jffs2reset -y && reboot & - fi -;; -esac - -return 0