diff options
author | John Crispin <blogic@openwrt.org> | 2016-04-19 10:07:35 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-04-19 10:07:35 +0200 |
commit | b4e33a1c08f7e0b980b14687ef601bd30634464a (patch) | |
tree | da61b8ddea28f2d2dd93a8ebd6e87802a529be08 /package/base-files/files/lib/preinit/10_indicate_failsafe | |
parent | dc929174095a00150de6a3e48d46355d24f223b9 (diff) | |
download | upstream-b4e33a1c08f7e0b980b14687ef601bd30634464a.tar.gz upstream-b4e33a1c08f7e0b980b14687ef601bd30634464a.tar.bz2 upstream-b4e33a1c08f7e0b980b14687ef601bd30634464a.zip |
base-files: Allow to disable failsafe mode
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Diffstat (limited to 'package/base-files/files/lib/preinit/10_indicate_failsafe')
-rw-r--r-- | package/base-files/files/lib/preinit/10_indicate_failsafe | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/lib/preinit/10_indicate_failsafe b/package/base-files/files/lib/preinit/10_indicate_failsafe index 6afae410b6..27b94c140f 100644 --- a/package/base-files/files/lib/preinit/10_indicate_failsafe +++ b/package/base-files/files/lib/preinit/10_indicate_failsafe @@ -9,6 +9,7 @@ indicate_failsafe_led () { } indicate_failsafe() { + [ "$pi_preinit_no_failsafe" = "y" ] && return echo "- failsafe -" preinit_net_echo "Entering Failsafe!\n" indicate_failsafe_led |