- 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
-
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
-
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
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
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: 47654
-
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: 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
-
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 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
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
-
John Crispin authored
since r45833 and r45848 the overlayfs is automatically mounted read-only (and blocks remounts as r/w) when JFFS2 is full. see ticket #19564 because of this normal file deletion is not possible anymore. if a user logins interactively (e.g. SSH) show a hint for this, that files must be removed in /overlay/upper/... v2: fix subject line Signed-off-by:
Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 47623
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47609
-
- Nov 15, 2015
-
-
Hauke Mehrtens authored
Fixes this conntrackd warning: WARNING: getprotobyname() cannot find protocol `DCCP' in /etc/protocols Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 47481
-
- Oct 19, 2015
-
-
John Crispin authored
FHS mandates presence of /var/tmp on compliant systems. The lack of /var/tmp was discovered when using MIT Kerberos libraries which default to that location for storing credentials cache. Signed-off-by:
Paul Fertser <fercerpav@gmail.com> SVN-Revision: 47219
-
- Oct 07, 2015
-
-
Steven Barth authored
Signed-off-by:
Steven Barth <steven@midlink.org> SVN-Revision: 47160
-
- Oct 05, 2015
-
-
John Crispin authored
This URL can be embedded e.g. within UPnP announcements where a link to the manufacturer's homepage is desired. Signed-off-by:
Michael Heimpold <mhei@heimpold.de> SVN-Revision: 47135
-
- Oct 02, 2015
-
-
Steven Barth authored
Previously init and hotplug paths were different from console. Signed-off-by:
Steven Barth <steven@midlink.org> SVN-Revision: 47080
-
- Sep 21, 2015
-
-
Felix Fietkau authored
Even though there are not many users left within the OpenWrt tree it seems this function broke during the kernel 3.18 transition. Fix it by providing a workdir as required by overlayfs. Signed-off-by:
Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 47015
-
- Sep 16, 2015
-
-
Jo-Philipp Wich authored
- Simplify user spec parsing code - Alias IPKG_INSTROOT to shorten code - Quote variables where appropriate - Remove a useless-use-of-cat instance - Suppress errors in case control or list files are missing Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 46975
-
John Crispin authored
OpenWrt should support an optional /etc/profile.d directory like most other Linux distributions. This allows packages to install their own scripts into /etc/profile.d/ directory. The file suffix should make clear, that these scripts are (sourced) shell-snippets. If the user needs e.g. php or lua, one must make sure that the interpreter is called. The reverse failsafe test makes sure, that the effective returncode is 0. A typcal usecase is the inclusion of private helpers, special variables or aliases, which at the moment needs patching the sourcecode and is not well maintainable. Now the builder can simply add there files. v1 initial work of Hendrik Lüth <hendrik@linux-nerds.de> v2 changes regarding RFC (e.g. thomas.langer@lantiq.com) v3 changes regarding RFC (e.g. mschiffer@universe-factory.net) v4 keep it simple and mimic OpenWrt style Signed-off-by:
Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 46965
-
- Sep 14, 2015
-
-
John Crispin authored
get_image() eval a filename without quoting it, resulting in errors with filenames containing characters that need to be escaped. $ sysupgrade -T -f ./cfg\(12\).tar.gz img.bin; echo $? Image check 'platform_check_image' failed. Invalid config file. Please use only .tar.gz files 1 $ mv cfg\(12\).tar.gz cfg_12.tar.gz $ mv img\(1\).bin img.bin sysupgrade -T -f ./cfg_12.tar.gz img.bin; echo $? 0 Enclose the content of $from in double quotes. Signed-off-by:
Adrien Schildknecht <adrien+dev@schischi.me> SVN-Revision: 46919
-
- Sep 12, 2015
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46890
-
- Sep 11, 2015
-
-
Felix Fietkau authored
Move the pattern setting from netifd's service script to /etc/sysctl.conf. Put the timestamp component '%t' just after executable name '%e' for more natural order from output of ls command. Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 46867
-