- Jan 26, 2017
-
-
Yousong Zhou authored
The name will appear in shell prompt and LuCI page title. Uppercase letters seem to be more vigorous Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
- Dec 12, 2016
-
-
Julian authored
This changes the UCI variable for the GPIO value from system.$cfg.default back to system.$cfg.value as it was before the change from uci-defaults [1] to board.d. /etc/init.d/gpio_switch [2] still expects the value to be in system.$cfg.value. [1] https://github.com/lede-project/source/blob/d65916047b44d6d157d88d15e8e3d92555c5e6f8/package/base-files/files/lib/functions/uci-defaults.sh#L197 [2] https://github.com/lede-project/source/blob/master/package/base-files/files/etc/init.d/gpio_switch#L17 Signed-off-by:
Julian Labus <julian@labus-online.de>
-
- Oct 22, 2016
-
-
Rafał Miłecki authored
This helper allows using usbport trigger directly. It requires usbport compatible syntax and supports specifying multiple USB ports, e.g.: ucidef_set_led_usbport "usb" "USB" "devicename:colour:function" "usb1-port1" "usb2-port1" This adds a proper object to the board.json, e.g. "usb": { "name": "USB", "type": "usbport", "sysfs": "devicename:colour:function", "ports": [ "usb1-port1", "usb2-port1" ] } and supports translating it into uci section. Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
-
- Oct 05, 2016
-
-
Koen Vandeputte authored
Before a configuration is generated, an empty file is created to store it in. (required by UCI) If something happens during config generation (power cut, interruption, ..) an empty file exists and it is never regenerated again, causing some daemons to fail starting (NTPD, logread, ..) Fix this by also generating new configs if a critical file is empty. Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
- Aug 13, 2016
-
-
Jonas Gorski authored
Instead of board_detect generating the config as a side effect, let config_generate call board_detect as needed. Signed-off-by:
Jonas Gorski <jonas.gorski@gmail.com>
-
- Jun 30, 2016
-
-
Etienne CHAMPETIER authored
This commit: 1) seed /dev/urandom with the saved seeds as early as possible (see /lib/preinit/81_urandom_seed) 2) save a seed at /etc/urandom.seed if it doesn't exists 3) save a new seed each boot at "system.@system[0].urandom_seed" (see /etc/init.d/urandom_seed) We use getrandom() so we are sure /dev/urandom pool is initialized Seed size is 512 bytes (ie /proc/sys/kernel/random/poolsize / 8) it's the same size as in ubuntu 14.04 and all systemd systems Seeding /dev/urandom doesn't change entropy estimation, so we still have "random: ubus urandom read with 4 bits of entropy available" messages in the logs, but we can now ignore them if after "urandom-seed: Seeding with ..." message Saving a new seed on each boot is disabled by default to avoid too much writes without user consent v2: log preinit messages to /dev/kmsg v3: use non generic function name for logging, as /lib/preinit/ files are all sourced together in /etc/preinit v4: after a lot of discussion on the ML, use a uci config param v5: config param is now the path of the seed Signed-off-by:
Etienne CHAMPETIER <champetier.etienne@gmail.com> Acked-by:
Jo-Philipp Wich <jo@mein.io>
-
- Jun 28, 2016
-
-
Jo-Philipp Wich authored
The vendor NTP pool for the LEDE project got approved, so switch to it now. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Jun 07, 2016
-
-
Hannu Nyman authored
Increase the default system log buffer size from 16 kB (built-in default in ubox logd) to 64 kB by setting the option in /etc/config/system. Signed-off-by:
Hannu Nyman <hannu.nyman@iki.fi>
-
- Jun 08, 2016
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Jun 07, 2016
-
-
Jo-Philipp Wich authored
Now that config_generate is able to generate the entire /etc/config/system from scratch we can apply the same logic as used for /etc/config/network; when the configuration file exists already then do not do anything, else generate it from the values provided by /etc/board.json . In order to facilitate that move the file existance checking inside /bin/config_generate and call it unconditionally from /bin/board_detect. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Add support for handling port_state LEDs as used by ADM5120. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Add support for specifying hostname and NTP servers via /etc/board.d/ scripts. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- May 11, 2016
-
-
Vittorio Gambaletta (VittGam) authored
The json_select call fails when there are no roles or ports objects in board.json. "json_select .." must not be executed after failing. This fixes for example LEDs not being set up in /etc/config/system. Signed-off-by:
Vittorio Gambaletta <openwrt@vittgam.net>
-
- Apr 17, 2016
-
-
Hauke Mehrtens authored
Signed-off-by:
Roman Yeryomin <roman@advem.lv> Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49179
-
- Mar 07, 2016
-
-
Felix Fietkau authored
Instead of having two different types adsl and vdsl just create one dsl type. This way we can use the same luci code for adsl and vdsl and the config parameters are not so different. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48944
-
- Feb 26, 2016
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48806
-
- Feb 25, 2016
-
-
Felix Fietkau authored
This patch adds extra parameter to switch LED trigger initialization functions. New functionality maintains backward compatibility, so calling functions without setting new speed_mask parameter works as expected. Signed-off-by:
Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48776
-
John Crispin authored
oneshot and timer have the same configuration options, just a different trigger name. Signed-off-by:
Karl Palsson <karlp@etactica.com> SVN-Revision: 48770
-
- Feb 07, 2016
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48646
-
- Dec 04, 2015
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47762
-
Jo-Philipp Wich authored
This adds support for specifying the dsl modem, atm bridge configs and setting the pppoe protocol for wan. These additions are required to port the Lantiq target to board.d. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47750
-
- 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
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
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47718
-
- Nov 30, 2015
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47679
-
Jo-Philipp Wich authored
Only se4t the force_link property for non-lan, non-wan ifaces as it is unnecessary in the default cases. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47675
-
- Nov 26, 2015
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47660
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47659
-
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
Add support for emitting rssi monitor and led configuration sections. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47656
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47654
-
- Nov 25, 2015
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47648
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47647
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47646
-
- Nov 24, 2015
-
-
Jo-Philipp Wich authored
Add support for generating vlans solely from the port layout description given through ucidef_add_switch_ports(). Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47639
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47609
-
- Oct 27, 2014
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 43088
-
- Oct 08, 2014
-
-
Steven Barth authored
This allows IPv6 to set up without IPv4 being up thus IPv6-only or IPv6+DS-Lite working with the default config. Signed-off-by:
Steven Barth <steven@midlink.org> SVN-Revision: 42848
-
- Aug 22, 2014
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 42261
-