aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
Commit message (Collapse)AuthorAgeFilesLines
...
* base-files: network.sh: simplify network_get_prefix6()Jo-Philipp Wich2013-01-211-7/+4
| | | | SVN-Revision: 35286
* base-files: use numerically prefixed uci-defaults namesJo-Philipp Wich2013-01-183-0/+0
| | | | SVN-Revision: 35218
* base-files: rename ULA generation scriptSteven Barth2013-01-171-0/+0
| | | | SVN-Revision: 35204
* base-files: add support for ipv6-prefixes in connection with netifdSteven Barth2013-01-153-0/+50
| | | | SVN-Revision: 35168
* base-files: Don't pass '--set-worker /lib/hotplug2/worker_fork.so' to ↵Vasilis Tsiligiannis2013-01-111-3/+3
| | | | | | hotplug2 (#12781) SVN-Revision: 35095
* sysupgrade: clarify online helpJo-Philipp Wich2013-01-021-12/+15
| | | | | | | | Fixes #12346. Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 34975
* sysupgrade: do not require an extra argument after --restore-backupJo-Philipp Wich2013-01-021-6/+7
| | | | | | | | | | | Neither --create-backup nor --restore-backup need an image name (following the backup filename). Treat them in uniform way. Mostly fixes #12346. Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 34974
* base-files: Fix a typo in config_list_foreachSteven Barth2012-12-271-1/+1
| | | | SVN-Revision: 34893
* base-files: ipcalc.sh: fix broken calculations on 64bit systemsJo-Philipp Wich2012-12-231-5/+10
| | | | | | | | Calculate complements by using awk's xor() function with a mask of 0xffffffff instead of relying on the compl() function which appears to produce broken results on certain 64bit architectures. SVN-Revision: 34875
* base-files: add basic procd integration, let procd start (and restart) ubus ↵Felix Fietkau2012-12-221-0/+31
| | | | | | instead of having an ubus init script SVN-Revision: 34866
* hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgradeMirko Vogt2012-12-211-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
* base-files: we don't need /etc/functions.sh symlink anymoreLuka Perkov2012-12-201-1/+0
| | | | SVN-Revision: 34802
* merge /lib/functions/boot.sh and /lib/functions.shMirko Vogt2012-12-195-149/+139
| | | | SVN-Revision: 34794
* Do not overload mount-call - trying to reduce confusionMirko Vogt2012-12-1914-41/+34
| | | | | | | | | | | 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.shJo-Philipp Wich2012-12-171-7/+7
| | | | SVN-Revision: 34733
* base-files: rework cache handling in network.sh to keep the entire parsed ↵Jo-Philipp Wich2012-12-161-129/+159
| | | | | | ifstatus, use jshn namespaces to support using it concurrently with other jshn users SVN-Revision: 34725
* base-files: various enhancements to network.shJo-Philipp Wich2012-12-161-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 helperGabor Juhos2012-12-121-3/+17
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34648
* Revert "remove function find_mtd_part() from /lib/functions.sh"Mirko Vogt2012-12-121-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.shMirko Vogt2012-12-121-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
* Remove default sysctl-entry for IPv6 here (races)Steven Barth2012-11-291-2/+0
| | | | SVN-Revision: 34417
* base-files: add support for the morse LED triggerGabor Juhos2012-11-251-0/+7
| | | | | | | | | | | | Write "delay" and "message" options to their respective files, allowing Morse code message configuration through UCI. The delay (dit length) defaults to 150ms (about 8 words per minute, suitable for beginners). Signed-off-by: Petr Viktorin <encukou@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34380
* base-files: use a natural mount syntaxFlorian Fainelli2012-11-235-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: skip LEDs handled by rssileds in led init-scriptFlorian Fainelli2012-10-111-0/+5
| | | | | | | | | | | | | | | Without this, /etc/init.d/led will try to set the non-existing 'rssi' trigger. This doesn't harm as the kernel will refuse this setting, but it outputs some ugly log-lines: Jun 24 10:15:19 OpenWrt user.info sysinit: setting up led RSSILOW Jun 24 10:15:19 OpenWrt user.info sysinit: sh: write error: Invalid argument ... In order to avoid this, skip LEDs with trigger = "rssi" in /etc/init.d/led Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33717
* it's time to break the barriersImre Kaloz2012-10-081-8/+5
| | | | SVN-Revision: 33666
* base-files: remove obsolete entries from sysctl.conf (#12236)Felix Fietkau2012-09-241-5/+0
| | | | SVN-Revision: 33532
* base-files: release an attached loop device on umountingFlorian Fainelli2012-09-191-1/+1
| | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 33477
* base-files: make file compare silent in migrate-sysctlJo-Philipp Wich2012-09-171-1/+1
| | | | SVN-Revision: 33449
* base-files: add uci-defaults script to migrate sysctl.conf (#12196)Jo-Philipp Wich2012-09-171-0/+17
| | | | SVN-Revision: 33448
* base-files: remove route enabled check in lib/functions/network.sh after ↵Jo-Philipp Wich2012-09-131-4/+2
| | | | | | netifd bump SVN-Revision: 33391
* base-files: uci-defaults for rssiledsGabor Juhos2012-08-131-0/+44
| | | | | | | | Adds capability to add uci-defaults defining RSSI LEDs Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33164
* base-files: provide a sysupgrade -r (--restore-backup) option as convenience ↵Jo-Philipp Wich2012-08-121-0/+12
| | | | | | wrapper for tar -C / -x(v)zf SVN-Revision: 33147
* base-files: fix option parsing of -F/--force parameterJo-Philipp Wich2012-08-091-1/+1
| | | | SVN-Revision: 33075
* base-files: check for ldd presence and executability (#11991)Florian Fainelli2012-08-081-1/+1
| | | | SVN-Revision: 33057
* base-files: fix detection of standalone lddFlorian Fainelli2012-07-271-1/+1
| | | | | | | | When standalone ldd is selected in config the binary is installed in /usr/bin/ldd. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 32891
* base-files: Modernize hotplug2 rules (#11368)Vasilis Tsiligiannis2012-07-141-29/+11
| | | | SVN-Revision: 32711
* base-files: ensure that /sys is available during sysupgrade, some essential ↵Jo-Philipp Wich2012-07-031-1/+5
| | | | | | services like om-watchdog need it SVN-Revision: 32587
* base-files: implement network_get_dnsserver() and network_get_dnssearch() in ↵Jo-Philipp Wich2012-06-291-0/+31
| | | | | | /lib/functions/network.sh SVN-Revision: 32531
* base-files: only consider enabled default routes when finding the wan iface ↵Jo-Philipp Wich2012-06-291-2/+4
| | | | | | (#11774) SVN-Revision: 32525
* base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)Felix Fietkau2012-06-271-1/+3
| | | | | | | | | | A year of testing in the cerowrt project shows not using timestamps to be a very bad idea in nearly any TCP at speeds above a few Mbit. Lastly sack/dsack help on recovery from larger amounts of packet loss. SVN-Revision: 32513
* base-files: allow wireless ifaces to be part of multiple networksJo-Philipp Wich2012-06-261-4/+9
| | | | SVN-Revision: 32503
* base-files: implement network_get_gateway(), network_get_gateway6(), ↵Jo-Philipp Wich2012-06-171-0/+59
| | | | | | network_find_wan() and network_find_wan6() in /lib/functions/network.sh SVN-Revision: 32397
* base-files: enable shell tracing in initscripts when INIT_TRACE is setJo-Philipp Wich2012-06-131-1/+3
| | | | SVN-Revision: 32340
* base-files: implement network_defer_device() and network_ready_device() ↵Jo-Philipp Wich2012-06-071-0/+16
| | | | | | wrappers for upcoming netifd iface deferring support SVN-Revision: 32106
* base-files: ship a static initial shadow db instead of creating it from ↵Jo-Philipp Wich2012-06-051-0/+5
| | | | | | passwd with sed, this fixes registering of users at compile time SVN-Revision: 32064
* base-files: make user_add() populate the shadow db as wellJo-Philipp Wich2012-06-051-0/+1
| | | | SVN-Revision: 32063
* /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-058-9/+9
| | | | SVN-Revision: 32062
* base-files: add LED specific functions to /lib/functions/uci-defaultsGabor Juhos2012-05-291-0/+98
| | | | SVN-Revision: 31991
* base-files: add network_is_up()Jo-Philipp Wich2012-05-291-0/+6
| | | | SVN-Revision: 31978
* base-files: let network_get_device() return the l3 interface, introduce ↵Jo-Philipp Wich2012-05-291-4/+6
| | | | | | network_get_physdev() to obtain the underlying iface (if applicable) SVN-Revision: 31960