aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* do not run hotplug event for aliasesFelix Fietkau2009-04-131-0/+3
| | | | SVN-Revision: 15224
* - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 ↵Jo-Philipp Wich2009-03-251-2/+9
| | | | | | for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE SVN-Revision: 15042
* sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpaJo-Philipp Wich2009-03-241-0/+1
| | | | SVN-Revision: 15028
* sysupgrade: install /bin/sleep into ramdisk too and add completition notice ↵Jo-Philipp Wich2009-03-081-1/+2
| | | | | | (#4747) SVN-Revision: 14784
* Prevent "SIOCSIFHWADDR: Device or resource busy" when trying to change mac ↵Jo-Philipp Wich2008-11-171-0/+1
| | | | | | address SVN-Revision: 13258
* make network config script work with brctl from both bridge-utils & busyboxNicolas Thill2008-11-091-1/+1
| | | | SVN-Revision: 13165
* don't bring down interfaces when preparing themFelix Fietkau2008-10-291-2/+2
| | | | SVN-Revision: 13079
* install missing busybox symlinks for sysupgrade (patch by Frédéric Moulins)Felix Fietkau2008-09-251-1/+1
| | | | SVN-Revision: 12695
* fix sysupgrade support for brcm-2.4 and brcm47xx make mtd refresh based ↵Felix Fietkau2008-09-231-2/+15
| | | | | | config append optional (leave enabled on x86) SVN-Revision: 12657
* sysupgrade: add optional delay before rebootingFelix Fietkau2008-09-121-0/+1
| | | | SVN-Revision: 12572
* fixes variables, oopsJohn Crispin2008-08-201-1/+1
| | | | SVN-Revision: 12344
* adds the option to have no proto for a interface, usefull if the uci states ↵John Crispin2008-08-201-0/+7
| | | | | | need to be set, but interface bring up is handled somewhere else SVN-Revision: 12343
* add basic interface alias support. for now (since we don't use ip in our ↵Felix Fietkau2008-08-071-37/+80
| | | | | | | | | | | network scripts yet), it adds :1, :2, ... alias interfaces this will change when we add support for the ip utility, but the config format will remain the same. example: config alias test option interface lan option ipaddr 192.168.1.1 option netmask 255.255.0.0 SVN-Revision: 12241
* avoid duplicate vlan add eventsFelix Fietkau2008-08-011-1/+3
| | | | SVN-Revision: 12057
* link default routes added by the network scripts to the appropriate ↵Felix Fietkau2008-07-301-2/+2
| | | | | | interface (#2621) SVN-Revision: 12027
* properly keep track of bridged interfaces in the network stateFelix Fietkau2008-07-301-0/+17
| | | | SVN-Revision: 12004
* fix sysupgrade endian issuesTravis Kemen2008-07-221-1/+1
| | | | SVN-Revision: 11900
* fix sysupgrade 'do_upgrade: not found' errorFelix Fietkau2008-06-041-1/+1
| | | | SVN-Revision: 11362
* fix use of uci_set_state in network scripts (thx, netprince)Felix Fietkau2008-04-071-2/+2
| | | | SVN-Revision: 10763
* fix interface enumeration issues related to /var/state/network (thx to fish ↵Felix Fietkau2008-04-021-3/+13
| | | | | | for debugging this) SVN-Revision: 10715
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-033-361/+1
| | | | SVN-Revision: 10367
* fix ppp issues (thanks to Fatus for debugging this)Felix Fietkau2007-11-301-2/+3
| | | | SVN-Revision: 9634