Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | base-files: fix network_get_prefix6 | Steven Barth | 2013-01-22 | 1 | -1/+1 |
| | | | | SVN-Revision: 35300 | ||||
* | base-files: network.sh: fix typo in previous commit | Jo-Philipp Wich | 2013-01-21 | 1 | -1/+1 |
| | | | | SVN-Revision: 35287 | ||||
* | base-files: network.sh: simplify network_get_prefix6() | Jo-Philipp Wich | 2013-01-21 | 1 | -7/+4 |
| | | | | SVN-Revision: 35286 | ||||
* | base-files: add support for ipv6-prefixes in connection with netifd | Steven Barth | 2013-01-15 | 1 | -0/+30 |
| | | | | SVN-Revision: 35168 | ||||
* | base-files: Don't pass '--set-worker /lib/hotplug2/worker_fork.so' to ↵ | Vasilis Tsiligiannis | 2013-01-11 | 1 | -3/+3 |
| | | | | | | hotplug2 (#12781) SVN-Revision: 35095 | ||||
* | base-files: Fix a typo in config_list_foreach | Steven Barth | 2012-12-27 | 1 | -1/+1 |
| | | | | SVN-Revision: 34893 | ||||
* | hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade | Mirko Vogt | 2012-12-21 | 1 | -2/+2 |
| | | | | | | | | | | | | Sysupgrade defines its very own pivot() function. Prior merging boot.sh and functions.sh sysupgrade just included boot.sh, now it includes functions.sh which defines pivot() as well, however slightly different which causes sysupgrade to fail. This is a hot-fix to unbreak sysupgrade, however those two pivot() functions should actually get merged. SVN-Revision: 34815 | ||||
* | merge /lib/functions/boot.sh and /lib/functions.sh | Mirko Vogt | 2012-12-19 | 2 | -146/+137 |
| | | | | SVN-Revision: 34794 | ||||
* | Do not overload mount-call - trying to reduce confusion | Mirko Vogt | 2012-12-19 | 11 | -38/+31 |
| | | | | | | | | | | | The behaviour of calling 'mount' differed depending on whether it called the busybox-mount, the mount of util-linux, the mount defined in /lib/functions.sh and /lib/functions/boot.sh /etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh, both re-defining 'mount'. SVN-Revision: 34792 | ||||
* | base-files: use json_is_a() in network.sh | Jo-Philipp Wich | 2012-12-17 | 1 | -7/+7 |
| | | | | SVN-Revision: 34733 | ||||
* | base-files: rework cache handling in network.sh to keep the entire parsed ↵ | Jo-Philipp Wich | 2012-12-16 | 1 | -129/+159 |
| | | | | | | ifstatus, use jshn namespaces to support using it concurrently with other jshn users SVN-Revision: 34725 | ||||
* | base-files: various enhancements to network.sh | Jo-Philipp Wich | 2012-12-16 | 1 | -30/+153 |
| | | | | | | | | | | | - support reading inactive gateways and DNS information in network_get_gateway(), network_get_dnsserver() and network_get_dnssearch() by passing "true" as optional last argument - internally cache fetched values to speed up subsequent accesses to the same data, introduce network_flush_cache() to clear them - add some inline function documentation SVN-Revision: 34722 | ||||
* | base-files: add mtd_find_chardev helper | Gabor Juhos | 2012-12-12 | 1 | -3/+17 |
| | | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34648 | ||||
* | Revert "remove function find_mtd_part() from /lib/functions.sh" | Mirko Vogt | 2012-12-12 | 1 | -0/+9 |
| | | | | | | | | | Reverting commit 34641. Function find_mtd_part() is needed by some scripts deployed for certain targets but not including boot.sh after all. Still, all this certainly needs some love. SVN-Revision: 34642 | ||||
* | remove function find_mtd_part() from /lib/functions.sh | Mirko Vogt | 2012-12-12 | 1 | -9/+0 |
| | | | | | | | | | Since all scripts using this function include /lib/functions/boot.sh - where this function is defined as well - it can be dropped from /lib/functions.sh. Also avoids further confusion about this function being declared and defined in two different places. SVN-Revision: 34641 | ||||
* | base-files: use a natural mount syntax | Florian Fainelli | 2012-11-23 | 5 | -8/+7 |
| | | | | | | | | | | Busybox built against musl-libc will choke on these otherwise, besides that it is more natural to use the filesystem type, then options, then name, then mountpoint. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34308 | ||||
* | base-files: remove route enabled check in lib/functions/network.sh after ↵ | Jo-Philipp Wich | 2012-09-13 | 1 | -4/+2 |
| | | | | | | netifd bump SVN-Revision: 33391 | ||||
* | base-files: uci-defaults for rssileds | Gabor Juhos | 2012-08-13 | 1 | -0/+44 |
| | | | | | | | | Adds capability to add uci-defaults defining RSSI LEDs Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33164 | ||||
* | base-files: ensure that /sys is available during sysupgrade, some essential ↵ | Jo-Philipp Wich | 2012-07-03 | 1 | -1/+5 |
| | | | | | | services like om-watchdog need it SVN-Revision: 32587 | ||||
* | base-files: implement network_get_dnsserver() and network_get_dnssearch() in ↵ | Jo-Philipp Wich | 2012-06-29 | 1 | -0/+31 |
| | | | | | | /lib/functions/network.sh SVN-Revision: 32531 | ||||
* | base-files: only consider enabled default routes when finding the wan iface ↵ | Jo-Philipp Wich | 2012-06-29 | 1 | -2/+4 |
| | | | | | | (#11774) SVN-Revision: 32525 | ||||
* | base-files: implement network_get_gateway(), network_get_gateway6(), ↵ | Jo-Philipp Wich | 2012-06-17 | 1 | -0/+59 |
| | | | | | | network_find_wan() and network_find_wan6() in /lib/functions/network.sh SVN-Revision: 32397 | ||||
* | base-files: implement network_defer_device() and network_ready_device() ↵ | Jo-Philipp Wich | 2012-06-07 | 1 | -0/+16 |
| | | | | | | wrappers for upcoming netifd iface deferring support SVN-Revision: 32106 | ||||
* | base-files: make user_add() populate the shadow db as well | Jo-Philipp Wich | 2012-06-05 | 1 | -0/+1 |
| | | | | SVN-Revision: 32063 | ||||
* | /etc/functions.sh => /lib/functions.sh | Jo-Philipp Wich | 2012-06-05 | 1 | -1/+1 |
| | | | | SVN-Revision: 32062 | ||||
* | base-files: add LED specific functions to /lib/functions/uci-defaults | Gabor Juhos | 2012-05-29 | 1 | -0/+98 |
| | | | | SVN-Revision: 31991 | ||||
* | base-files: add network_is_up() | Jo-Philipp Wich | 2012-05-29 | 1 | -0/+6 |
| | | | | SVN-Revision: 31978 | ||||
* | base-files: let network_get_device() return the l3 interface, introduce ↵ | Jo-Philipp Wich | 2012-05-29 | 1 | -4/+6 |
| | | | | | | network_get_physdev() to obtain the underlying iface (if applicable) SVN-Revision: 31960 | ||||
* | 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 |