Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | base-files: add network_get_device() to network.sh | Jo-Philipp Wich | 2012-05-28 | 1 | -0/+15 |
| | | | | SVN-Revision: 31937 | ||||
* | base-files: introduce /lib/functions/network.sh This file will contain ↵ | Jo-Philipp Wich | 2012-05-28 | 1 | -0/+41 |
| | | | | | | common procedures to deal with network interfaces. Initially provides network_get_ipaddr(), network_get_ipaddr6(), network_get_subnet() and network_get_subnet6() to determine the primary IP addresses or subnets of a given logical interface. SVN-Revision: 31935 | ||||
* | base-files: kill ubusd and udhcpc on sysupgrade as well | Felix Fietkau | 2012-05-23 | 1 | -1/+1 |
| | | | | SVN-Revision: 31852 | ||||
* | base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade | Felix Fietkau | 2012-05-23 | 1 | -1/+1 |
| | | | | SVN-Revision: 31851 | ||||
* | package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade | Gabor Juhos | 2012-05-23 | 1 | -1/+1 |
| | | | | SVN-Revision: 31842 | ||||
* | base-files: fix typo in 05_firstboot_skip script (#11359) | Florian Fainelli | 2012-04-27 | 1 | -1/+1 |
| | | | | SVN-Revision: 31492 | ||||
* | base-files: rename internal variables in config_foreach to make namespace ↵ | Felix Fietkau | 2012-04-21 | 1 | -4/+4 |
| | | | | | | conflicts more unlikely SVN-Revision: 31431 | ||||
* | base-files: split service related functions off to /lib/functions/service.sh | Felix Fietkau | 2012-03-20 | 2 | -128/+129 |
| | | | | SVN-Revision: 31042 | ||||
* | base-files: remove trailing whitespaces from lib/functions/boot.sh | Gabor Juhos | 2012-03-02 | 1 | -4/+4 |
| | | | | SVN-Revision: 30776 | ||||
* | base-files: remove trailing whitespaces from lib/functions.sh | Gabor Juhos | 2012-03-02 | 1 | -10/+10 |
| | | | | SVN-Revision: 30775 | ||||
* | base-files: add lib/functions/uci-defaults.sh | Gabor Juhos | 2011-12-01 | 1 | -0/+88 |
| | | | | SVN-Revision: 29384 | ||||
* | base-files: rewrite killing of nonessential services to not rely on top, use ↵ | Jo-Philipp Wich | 2011-11-16 | 1 | -9/+17 |
| | | | | | | the proc filesystem only SVN-Revision: 29187 | ||||
* | package/base-files: enhance service functions | Nicolas Thill | 2011-11-12 | 1 | -13/+27 |
| | | | | | | | | * allow matching process by name (useful for processes changing it) * check if first argument is executable * fix function name used in error messages SVN-Revision: 28991 | ||||
* | package/base-files: /lib/functions.sh: add {group,user}_{add,exists} functions | Nicolas Thill | 2011-11-09 | 1 | -0/+37 |
| | | | | SVN-Revision: 28871 | ||||
* | package/base-files: /lib/functions.sh: let service_stop exit early if no ↵ | Nicolas Thill | 2011-11-08 | 1 | -1/+1 |
| | | | | | | matching process to stop where found SVN-Revision: 28870 | ||||
* | package/base-files: enhance & cleanup service wrappers | Nicolas Thill | 2011-11-08 | 1 | -26/+40 |
| | | | | | | | | | * add service_check function for checking if a process is alive * add service_signal for sending arbitrary signals to a process * change service_stop to send a TERM signal first, wait for the process to die and send a KILL signal if it doen't * have service_kill print a warning on STDERR stating it has been deprecated SVN-Revision: 28865 | ||||
* | package/base-files: move service* functions from /etc/rc.common to ↵ | Nicolas Thill | 2011-11-08 | 1 | -0/+82 |
| | | | | | | /lib/functions.sh SVN-Revision: 28864 | ||||
* | base-files: do not kill udhcpc on sysupgrade, it will tear down the ↵ | Jo-Philipp Wich | 2011-11-08 | 1 | -1/+1 |
| | | | | | | interface if terminated SVN-Revision: 28863 | ||||
* | base-files: do not assume that "top" is busybox' top, but try to call the ↵ | Jo-Philipp Wich | 2011-11-08 | 1 | -1/+1 |
| | | | | | | applet explicitely SVN-Revision: 28862 | ||||
* | package/base-files: move /etc/functions.sh to /lib/functions.sh | Nicolas Thill | 2011-11-08 | 1 | -0/+320 |
| | | | | SVN-Revision: 28857 | ||||
* | base-files: add some more protected services to sysupgrade kill blacklist | Jo-Philipp Wich | 2011-11-03 | 1 | -1/+1 |
| | | | | SVN-Revision: 28732 | ||||
* | base-files: fix typo | Jo-Philipp Wich | 2011-10-30 | 1 | -1/+1 |
| | | | | SVN-Revision: 28681 | ||||
* | base-files: sysupgrade: kill all but essential processes before starting the ↵ | Jo-Philipp Wich | 2011-10-27 | 1 | -0/+24 |
| | | | | | | update SVN-Revision: 28626 | ||||
* | base-files/sysupgrade: add more busybox applet symlinks to ramdisk | Gabor Juhos | 2011-10-27 | 1 | -1/+6 |
| | | | | | | | | | Adds symlinks for printf and wc to make life happier in the sysupgrade ramdisk. Also make code more readable by escaping that overly long line. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 28616 | ||||
* | base-files: move network related scripts to a separate package to make the ↵ | Felix Fietkau | 2011-10-20 | 1 | -444/+0 |
| | | | | | | transition to netifd easier SVN-Revision: 28495 | ||||
* | base-files: introduce "igmp_snooping" option to toggle IGMP snooping on ↵ | Jo-Philipp Wich | 2011-10-11 | 1 | -1/+3 |
| | | | | | | bridge interfaces SVN-Revision: 28412 | ||||
* | base-files: apply network interface settings such as macaddr, mtu and ↵ | Felix Fietkau | 2011-09-24 | 1 | -15/+9 |
| | | | | | | txqueuelen in prepare_interface instead of setup_interface. setting the mtu after the interface is up is unreliable on some drivers such as gianfar SVN-Revision: 28297 | ||||
* | base-files: make ip matching in dns add/remove functions more explicit, ↵ | Jo-Philipp Wich | 2011-09-23 | 1 | -2/+2 |
| | | | | | | avoids overmatching pairs like 1.2.3.35 and 1.2.3.3 SVN-Revision: 28291 | ||||
* | base-files: Fix IPv6 address and route adding on aliases with no IPv4 ↵ | Vasilis Tsiligiannis | 2011-09-14 | 1 | -2/+2 |
| | | | | | | address configured SVN-Revision: 28241 | ||||
* | Revert "[package] base-files: Add support for assigning multiple IPv6 ↵ | Vasilis Tsiligiannis | 2011-09-14 | 1 | -9/+8 |
| | | | | | | | | addresses on an interface" Multiple IPv6 addresses should be handled with alias sections SVN-Revision: 28240 | ||||
* | base-files: Add support for assigning multiple IPv6 addresses on an interface | Vasilis Tsiligiannis | 2011-09-12 | 1 | -8/+9 |
| | | | | SVN-Revision: 28222 | ||||
* | base-files: use "reboot -f" after sysupgrade to prevent executing deleted ↵ | Jo-Philipp Wich | 2011-07-25 | 1 | -1/+1 |
| | | | | | | init scripts SVN-Revision: 27776 | ||||
* | base-files: implement a generic mechanism to map per-interface sysctls to ↵ | Jo-Philipp Wich | 2011-07-17 | 1 | -0/+20 |
| | | | | | | uci. - option ipv4_xyz is mapped to /proc/sys/net/ipv4/{conf,neigh}/xyz - option ipv6_xyz is mapped to /proc/sys/net/ipv6/{conf,neigh}/xyz This allows e.g. "option ipv6_proxy_ndp 1" to enable NDP proxying on wan. Fixes ticket #8699. SVN-Revision: 27653 | ||||
* | base-files: use uci_toggle_state() to prevent unwanted aggregation of state ↵ | Jo-Philipp Wich | 2011-07-15 | 1 | -5/+5 |
| | | | | | | vars (#9711) SVN-Revision: 27616 | ||||
* | base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This caused ↵ | Daniel Dickinson | 2011-07-07 | 1 | -0/+7 |
| | | | | | | errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout. Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit SVN-Revision: 27501 | ||||
* | base-files: assume a default ipv6 prefix size of /64, thats what the ↵ | Jo-Philipp Wich | 2011-06-09 | 1 | -1/+1 |
| | | | | | | majority of users mean when they just specify an ip address SVN-Revision: 27147 | ||||
* | base-files: if an ip6addr without a prefix is given, assume /128 - otherwise ↵ | Jo-Philipp Wich | 2011-06-09 | 1 | -0/+5 |
| | | | | | | the busybox utilities will interpret it as /0 and create an invalid default route SVN-Revision: 27145 | ||||
* | base-files: fix error reporting for unsupported protocols on virtual interfaces | Jo-Philipp Wich | 2011-06-07 | 1 | -1/+1 |
| | | | | SVN-Revision: 27132 | ||||
* | base-files: make the MAC address of bridge interfaces sticky to avoid ARP ↵ | Felix Fietkau | 2011-05-24 | 1 | -1/+2 |
| | | | | | | issues on wifi re-configuration SVN-Revision: 26990 | ||||
* | base-files: bridge config, avoid having a random ipv6 ll address | Felix Fietkau | 2011-04-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | So far, we are setting the bridge interface up before having added any bridge interface ports. This results in the bridge assigning a random mac address to its bridge interface and therefore IPv6 assigning a matching link local address to the bridge interface as soon as the bridge interface is up. After adding the first bridge port interface, the bridge's mac address is reset correctly, however the IPv6 link local address stays the same. This commit ensures that we are at least having the IPv6 link local address of the first interface added to the bridge instead of a random one. Signed-off-by: Linus Lüssing <linus.luessing@web.de> SVN-Revision: 26426 | ||||
* | base-files: overlayfs whiteouts depend on a specific xattr entry, which does ↵ | Felix Fietkau | 2011-03-17 | 1 | -0/+12 |
| | | | | | | not get preserved by the tmpfs->overlay copy. work around this by cleaning all copied "(overlay-whiteout)" symlinks after the switch to jffs2 SVN-Revision: 26208 | ||||
* | base-files: add initial support for mounting overlayfs | Felix Fietkau | 2011-03-17 | 3 | -7/+9 |
| | | | | SVN-Revision: 26207 | ||||
* | boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready() | Michael Büsch | 2011-02-20 | 1 | -4/+4 |
| | | | | SVN-Revision: 25635 | ||||
* | base-files: Add "-o noatime" to mount wrapper | Michael Büsch | 2011-02-20 | 1 | -1/+1 |
| | | | | | | noatime is cheaper than default relatime. SVN-Revision: 25634 | ||||
* | Fix whitespace | Michael Büsch | 2011-02-20 | 1 | -1/+1 |
| | | | | SVN-Revision: 25632 | ||||
* | base-file: cleanup ipv6 enabling in unbridge | Jo-Philipp Wich | 2011-02-12 | 1 | -3/+1 |
| | | | | SVN-Revision: 25473 | ||||
* | base-files: - properly disable IPv6 on bridge ports - introduce accept_ra ↵ | Jo-Philipp Wich | 2011-02-11 | 1 | -5/+2 |
| | | | | | | option, defaults to true for dhcp interfaces, false for others - introduce send_rs option, defaults to true for static interfaces, false for others SVN-Revision: 25454 | ||||
* | base-files: fix a typo in processing of additional dhcp request opts | Jo-Philipp Wich | 2011-01-29 | 1 | -1/+1 |
| | | | | SVN-Revision: 25239 | ||||
* | base-files: fix handling of dhcp "reqopts" option | Jo-Philipp Wich | 2011-01-29 | 1 | -4/+8 |
| | | | | SVN-Revision: 25237 | ||||
* | package/base-files: add get_magic_long() to common upgrade script | Gabor Juhos | 2011-01-26 | 1 | -0/+4 |
| | | | | | | Patch-by: Mark Mentovai <mark@moxienet.com> SVN-Revision: 25117 |