- Dec 03, 2015
-
-
Jo-Philipp Wich authored
Some boards, e.g. the Sheeva Plug, require the lan interface to be set to DHCP instead of a static address, therfore support that. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47732
-
Jo-Philipp Wich authored
Add ucidef_set_led_timer() and handling for it to config_generate. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47731
-
Jo-Philipp Wich authored
Add ucidef_set_led_ide() to define "ide-disk" triggered leds. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47729
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47728
-
Jo-Philipp Wich authored
This changes uci-defaults-new.sh, config_generate and all relevant board.d files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into a single function. Also removes now superfluous enable and reset arguments. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47721
-
Jo-Philipp Wich authored
Out of 69 switch definitions, only 3 pass something different than "1" as values for reset and enable, with one of those three being invalid. This change ... * removes the reset and enable arguments from ucidef_add_switch() * unconditionally writes reset:1 and enable:1 to JSON * converts the three users of nonstandard values to ucidef_add_switch_attr() Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47720
-
Jo-Philipp Wich authored
Remove support for now unused ucidef_add_switch_vlan(), move port->vlan and vlan->interfaces conversion to uci-defaults-new.sh and massively simplify config_generate. This change prepares the following upcoming steps: * Eliminate use of ucidef_set_interface_lan_wan() for switch only devices * Merge ucidef_add_switch() with ucidef_add_switch_ports() Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47719
-
- Nov 30, 2015
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47679
-
Jo-Philipp Wich authored
Properly quote variables in ucidef_set_interface_lan() and ucidef_set_interface_lan(), otherwise interfaces with multiple devices are not properly written into the configuration. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47673
-
Jo-Philipp Wich authored
Add ucidef_set_board_id() and ucidef_set_model_name() procedures to store model information in the board.json file. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47671
-
- Nov 26, 2015
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47660
-
Jo-Philipp Wich authored
The only user was the hg255d board and config_generate did not even emit proper uci for it. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47658
-
Jo-Philipp Wich authored
Remove extra nesting of rssi leds in the led object and move rssi monitor declaration to its own object. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47655
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47652
-
- Nov 25, 2015
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47645
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47644
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47643
-
- Nov 24, 2015
-
-
Jo-Philipp Wich authored
Add further helper functions to uci-defaults-new.sh for easier declarations of complex switch layouts. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47638
-
- Jan 08, 2015
-
-
John Crispin authored
The enable and reset settings need to be added even when they're false. This is true at least for 'enable', that seems to default to true otherwise. Signed-off-by:
Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 43887
-
- Oct 14, 2014
-
-
John Crispin authored
[base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by:
Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911
-
- Sep 14, 2014
-
-
Luka Perkov authored
Signed-off-by:
Luka Perkov <luka@openwrt.org> SVN-Revision: 42542
-
- Aug 18, 2014
-
-
John Crispin authored
this allows targets to use the new uci-default helper which will generate a file called /etc/board.json. a tool called /bin/config_generate can then be used to generate the default uci settings. Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 42185
-