Commit Graph

19 Commits (e1a9485b0e23115787a8488c5988b2411e318519)

Author SHA1 Message Date
Piotr Dymacz 5cc96c0953 ar7: diag.sh: use common status_led_* functions
Switch to the common LED related status_led_blink_* functions in
set_state() as it's done in most of other targets.

Also, use "status_led_on" instead of "status_led_set_heartbeat"
and incorrect "status_led_set_on" in the "done" state.

Moreover, remove outdated comment from the script.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-03-15 23:14:54 +01:00
Jo-Philipp Wich 67e1c87012 all: drop old uci-defaults.sh
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47867
2015-12-11 15:26:06 +00:00
Jo-Philipp Wich ca00bd2be4 ar7: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47757
2015-12-04 14:27:47 +00:00
John Crispin 019ea725aa add "preinit_regular" diag.sh set_state argument
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43715
2014-12-15 10:37:00 +00:00
Steven Barth 4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
2013-04-22 19:40:16 +00:00
Steven Barth ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Florian Fainelli 15b66e0cbe ar7: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35659
2013-02-18 10:37:43 +00:00
Jo-Philipp Wich 3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
2013-01-18 12:42:53 +00:00
Florian Fainelli 3794a6a9dd enable mvswitch driver
And fix the default network configuration to create the required VLANs.

Patch from Daniel Gimpelevich.

SVN-Revision: 33750
2012-10-13 17:47:09 +00:00
Florian Fainelli 99598d2473 use the second available LED to encore mode boot states
Patch from Daniel Gimpelevich.

SVN-Revision: 33749
2012-10-13 17:47:04 +00:00
Daniel Dickinson 0d8b0e937d base-files: diag.sh: added failsafe led definition
SVN-Revision: 27502
2011-07-07 03:09:20 +00:00
Florian Fainelli 3d217da60b add a default network config file, patch from Wipster
SVN-Revision: 25647
2011-02-21 09:35:36 +00:00
Florian Fainelli 6e30a4b087 include second ethernet interface in bridge after r20022
SVN-Revision: 21307
2010-05-02 19:30:36 +00:00
Florian Fainelli 701d82cc8e Sync ar7 default network configuration with latest firewall and network settings, thanks sn9
SVN-Revision: 12444
2008-08-31 11:33:41 +00:00
Matteo Croce 326c6c3d1d set default atm-bridge payload to 'bridged' so we don't break old configs
SVN-Revision: 11044
2008-05-04 14:17:03 +00:00
Matteo Croce 53a0e5d97c ar7: add support for bridged ATM in network setup
SVN-Revision: 11033
2008-05-03 18:28:46 +00:00
Felix Fietkau eeebde136d Minor patch to the AR7 diag.sh to make the status LED a bit more useful. From the patch:
This setup gives us 3.5 distinguishable states:

- Solid OFF:  Bootloader running, or kernel hung (timer task stalled)
- Solid ON:   Kernel hung (timer task stalled)
- 5Hz blink:  preinit
- Heartbeat:  normal operation

Signed-off-by: oliver@opencloud.com

SVN-Revision: 9666
2007-12-07 00:03:14 +00:00
Eugene Konev 76fdf7d7b0 we are using leds-gpio now
SVN-Revision: 9252
2007-10-11 01:39:24 +00:00
Gabor Juhos 438dfe5c6f get rid of per-profile base-files
SVN-Revision: 9069
2007-09-29 14:27:54 +00:00