[brcm63xx] fix patches after 2.6.37 update, patch from KanjiMonster
[openwrt.git] / package / base-files / files / lib / preinit / 10_indicate_failsafe
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
4
5 # commands for emitting messages to network in failsafe mode
6
7 indicate_failsafe_led () {
8 set_state failsafe
9 }
10
11 indicate_failsafe() {
12 echo "- failsafe -"
13 preinit_net_echo "Entering Failsafe!\n"
14 indicate_failsafe_led
15 }
16
17 boot_hook_add failsafe indicate_failsafe
18
This page took 0.053949 seconds and 5 git commands to generate.