aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* base-files: introduce option "broadcast" for proto=dhcp interface to enable ↵Jo-Philipp Wich2010-06-021-2/+11
| | | | | | the broadcast flag in DHCP requests, required by certain providers SVN-Revision: 21661
* base-files: remove IPv6 LL addr from interfaces before adding them to a bridgeJo-Philipp Wich2010-06-021-0/+9
| | | | SVN-Revision: 21659
* base-files: - add aliases to device by default (not ifname) - introduce ↵Jo-Philipp Wich2010-06-021-3/+22
| | | | | | option "layer" to select the target ifname to attach the alias to: - 3 use tun device (tun over bridge over device) fallback to bridge or device - 2 use bridge (bridge over device) fallback to device - 1 use device SVN-Revision: 21655
* base-file: move alias setup to route hotplug, this fixes alias sections for ↵Jo-Philipp Wich2010-06-011-36/+16
| | | | | | non-static interfaces like ppp, dhcp, 6in4 etc. SVN-Revision: 21652
* base-files: - use add_dns() and remove_dns() for when changing ↵Jo-Philipp Wich2010-05-301-15/+28
| | | | | | resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision SVN-Revision: 21638
* base-files: revert r21595Jo-Philipp Wich2010-05-281-2/+0
| | | | SVN-Revision: 21597
* base-files: bring bridge port iface down before changing the mac (#7111)Jo-Philipp Wich2010-05-281-0/+2
| | | | SVN-Revision: 21595
* when changing the mac address of a bridge interface, keep member interface ↵Felix Fietkau2010-05-271-1/+3
| | | | | | addresses in sync (patch from #7111) SVN-Revision: 21577
* base-files: fix a preinit hang in jffs2_ready() when no rootfs_data ↵Jo-Philipp Wich2010-05-201-0/+1
| | | | | | partition is found (#7362) SVN-Revision: 21511
* base-files: add add_dns() and remove_dns() helpers to network config, useful ↵Jo-Philipp Wich2010-05-071-0/+29
| | | | | | to merge dns entries from multiple interfaces SVN-Revision: 21391
* base-files, ppp: fix interface shutdownJo-Philipp Wich2010-05-061-3/+3
| | | | SVN-Revision: 21386
* base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and ↵Jo-Philipp Wich2010-05-051-5/+22
| | | | | | move it to protocol stop callbacks SVN-Revision: 21383
* base-files: make press key message more explicit in preinitJo-Philipp Wich2010-03-231-1/+1
| | | | SVN-Revision: 20392
* change from /jffs to /overlay, patch from Daniel DickinsonFlorian Fainelli2010-03-2110-17/+18
| | | | SVN-Revision: 20356
* fix error output of brctl if bridging is not supported.Felix Fietkau2010-03-141-1/+1
| | | | | | | | | | | | The following error is displayed during network configuration on any device that has DEVICE_TYPE set to something else then router, or has brctl functionality disabled through some other method: "brctl: SIOCGIFBR: Package not installed" This is due to the unbridge function being called, which uses "brctl show" to determine if the interface is bridged. Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl> SVN-Revision: 20218
* base-files: force preinit to use busybox mount (#6797)Jo-Philipp Wich2010-03-131-0/+4
| | | | SVN-Revision: 20176
* package/base-files: call preinit_ip_deconfig before processing init on ↵Gabor Juhos2010-03-121-0/+1
| | | | | | initramfs images SVN-Revision: 20159
* base-files: fix preinit code typosNicolas Thill2010-03-101-1/+1
| | | | | | | Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl> Acked-by: Daniel Dickinson <cshore@csolve.net> SVN-Revision: 20124
* firstboot: fix typo (closes: #6738)Nicolas Thill2010-03-011-1/+1
| | | | SVN-Revision: 19944
* base-files: fix enter failsafe messageFelix Fietkau2010-03-011-1/+0
| | | | SVN-Revision: 19937
* add block-extroot, a package for using an external filesystem as rootfs ↵Felix Fietkau2010-02-261-0/+1
| | | | | | (patch by cshore) SVN-Revision: 19880
* base-files: revert dhcp state information on ifdown and restore pre-r19530 ↵Jo-Philipp Wich2010-02-121-0/+5
| | | | | | behaviour in udhcp default.script SVN-Revision: 19597
* base-file: revert unrelated change accidentally committed in r19478Jo-Philipp Wich2010-02-011-4/+0
| | | | SVN-Revision: 19488
* base-files: preinit: get rid of /dev/null redirections and use grep -q where ↵Jo-Philipp Wich2010-02-015-6/+10
| | | | | | applicable SVN-Revision: 19478
* quieten the check for devs, thanks nbdFlorian Fainelli2010-01-311-1/+1
| | | | SVN-Revision: 19473
* /dev/null was used before it was created, so an empty file was created. This ↵Florian Fainelli2010-01-311-1/+1
| | | | | | prevented the actual device node from being created. The attached patch fixes that, patch from cshore SVN-Revision: 19472
* preinit: Remove Ctrl-C prompt...impossible on /dev/console (patch by cshore)Felix Fietkau2010-01-281-1/+1
| | | | SVN-Revision: 19367
* add preinit modularization work by Daniel Dickinson (cshore)Felix Fietkau2010-01-2541-0/+865
| | | | SVN-Revision: 19331
* base-files: ensure that the ip6addr of the main interface stays the primary ↵Jo-Philipp Wich2010-01-231-20/+28
| | | | | | ip by re-adding it after alias setup is completed - patch by Alina Friedrichsen SVN-Revision: 19303
* base-files: sysupgade library coomon.sh has "bug" in glibc enviorement. For ↵Jo-Philipp Wich2010-01-161-0/+3
| | | | | | some reason ld-linux.so.3 is not installed at ramfs and sysupgrade always fails. Signed-off-by: Zintis Petersons <zintis.petersons@e-mail.lv> SVN-Revision: 19167
* Add udhcpc command-line argument to request rootpathHamish Guthrie2009-12-211-1/+1
| | | | SVN-Revision: 18876
* remove obsolete uci validation awk codeFelix Fietkau2009-10-206-654/+0
| | | | SVN-Revision: 18110
* base-files: clear ip addresses on interfaces that are about to be added to a ↵Jo-Philipp Wich2009-09-161-0/+2
| | | | | | bridge SVN-Revision: 17596
* Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵Felix Fietkau2009-09-091-1/+0
| | | | | | (r17527) until we've solved the race conditions it creates SVN-Revision: 17544
* fix nonhotpluggable networks not being brought up. Closes #2781Travis Kemen2009-09-061-0/+1
| | | | SVN-Revision: 17527
* base-files: fix sysupgrade get_magic_word() function to return proper values ↵Jo-Philipp Wich2009-08-191-1/+1
| | | | | | if the first two bytes are identical SVN-Revision: 17319
* base-files: move ipv6 module loading from setup_interface() to addif() in ↵Jo-Philipp Wich2009-08-101-9/+0
| | | | | | the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356) SVN-Revision: 17217
* base-files: some /lib/network/config.sh refactoringFelix Fietkau2009-08-071-25/+38
| | | | | | | | | | | * Localize a lot more variables than before. * Do stuff or localize variables at later points or inner blocks so less commands are executed in some cases. * Use the default option of config_get where it makes sense. Signed-off-by: Malte S. Stretz <mss@apache.org> SVN-Revision: 17160
* base-files: ensure that ipv6 is loaded if interfaces have an ip6addr ↵Jo-Philipp Wich2009-08-041-12/+21
| | | | | | defined, clean trailing whitespace, bump pkg revision (#5356) SVN-Revision: 17118
* base-files: Fix sysupgrade .tar.gz configuration restoringVasilis Tsiligiannis2009-06-291-12/+12
| | | | SVN-Revision: 16626
* sysupgrade: sync *before* mtd write, only fallback to sysrq-trigger if ↵Jo-Philipp Wich2009-06-171-3/+4
| | | | | | standard reboot fails SVN-Revision: 16488
* base-files: Add support for bzipped images in sysupgradeVasilis Tsiligiannis2009-06-101-1/+2
| | | | SVN-Revision: 16408
* base-files: Detect and decompressed gzipped images automatically when ↵Vasilis Tsiligiannis2009-06-101-7/+14
| | | | | | flashing with sysupgrade SVN-Revision: 16407
* base-files: format hexdump output instead of using awk for sysupgradeVasilis Tsiligiannis2009-06-101-1/+1
| | | | SVN-Revision: 16405
* base-files: fix test experession for sysupgradeVasilis Tsiligiannis2009-06-031-1/+1
| | | | SVN-Revision: 16310
* network: prevent unnecessary interface down/up cycles if no mac address ↵Felix Fietkau2009-06-011-2/+3
| | | | | | change is requested SVN-Revision: 16269
* network: do not unnecessarily touch interfaces configured as proto=none; ↵Felix Fietkau2009-06-011-2/+11
| | | | | | bring down old aliases before setting up new ones SVN-Revision: 16266
* sysupgrade: use sysrq-trigger if availableJo-Philipp Wich2009-05-151-0/+1
| | | | SVN-Revision: 15865
* base-files: show reboot notification is sysupgradeJo-Philipp Wich2009-05-091-1/+4
| | | | SVN-Revision: 15730
* Add option in sysupgrade to flash gzipped imagesJo-Philipp Wich2009-05-071-3/+6
| | | | SVN-Revision: 15672