91 Commits (15fecc9e6c2df765a148b3ceee46c4dbb12e1392)

Author SHA1 Message Date
Jo-Philipp Wich 250b52f673 base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script 15 years ago
Jo-Philipp Wich 7ad9c8615f base-file: revert unrelated change accidentally committed in r19478 15 years ago
Jo-Philipp Wich e367f5434a base-files: preinit: get rid of /dev/null redirections and use grep -q where applicable 15 years ago
Florian Fainelli b93682af14 quieten the check for devs, thanks nbd 15 years ago
Florian Fainelli 7480065917 /dev/null was used before it was created, so an empty file was created. This prevented the actual device node from being created. The attached patch fixes that, patch from cshore 15 years ago
Felix Fietkau b88fc11e2a preinit: Remove Ctrl-C prompt...impossible on /dev/console (patch by cshore) 15 years ago
Felix Fietkau 56bc02a305 add preinit modularization work by Daniel Dickinson (cshore) 15 years ago
Jo-Philipp Wich 8d0bb8f5dd base-files: ensure that the ip6addr of the main interface stays the primary ip by re-adding it after alias setup is completed - patch by Alina Friedrichsen 15 years ago
Jo-Philipp Wich 39f2b6d957 base-files: sysupgade library coomon.sh has "bug" in glibc enviorement. For 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> 15 years ago
Hamish Guthrie 406a4a885d Add udhcpc command-line argument to request rootpath 15 years ago
Felix Fietkau e9aa394113 remove obsolete uci validation awk code 15 years ago
Jo-Philipp Wich 2f921cb48d base-files: clear ip addresses on interfaces that are about to be added to a bridge 15 years ago
Felix Fietkau 91d40a14af Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates 15 years ago
Travis Kemen 27915ac778 fix nonhotpluggable networks not being brought up. Closes #2781 15 years ago
Jo-Philipp Wich 7d1c2a0612 base-files: fix sysupgrade get_magic_word() function to return proper values if the first two bytes are identical 15 years ago
Jo-Philipp Wich 27da9d1984 base-files: move ipv6 module loading from setup_interface() to addif() in the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356) 15 years ago
Felix Fietkau 91f98f1756 base-files: some /lib/network/config.sh refactoring 15 years ago
Jo-Philipp Wich 3bb5ea71eb base-files: ensure that ipv6 is loaded if interfaces have an ip6addr defined, clean trailing whitespace, bump pkg revision (#5356) 16 years ago
Vasilis Tsiligiannis baa9053e7a base-files: Fix sysupgrade .tar.gz configuration restoring 16 years ago
Jo-Philipp Wich c6fe201fb6 sysupgrade: sync *before* mtd write, only fallback to sysrq-trigger if standard reboot fails 16 years ago
Vasilis Tsiligiannis f4a81139b7 base-files: Add support for bzipped images in sysupgrade 16 years ago
Vasilis Tsiligiannis 57d7cc7666 base-files: Detect and decompressed gzipped images automatically when flashing with sysupgrade 16 years ago
Vasilis Tsiligiannis d1f5700e78 base-files: format hexdump output instead of using awk for sysupgrade 16 years ago
Vasilis Tsiligiannis 5b72dc3d8f base-files: fix test experession for sysupgrade 16 years ago
Felix Fietkau 642870d0cc network: prevent unnecessary interface down/up cycles if no mac address change is requested 16 years ago
Felix Fietkau 154ebf9380 network: do not unnecessarily touch interfaces configured as proto=none; bring down old aliases before setting up new ones 16 years ago
Jo-Philipp Wich af8500e97d sysupgrade: use sysrq-trigger if available 16 years ago
Jo-Philipp Wich d8aee6e471 base-files: show reboot notification is sysupgrade 16 years ago
Jo-Philipp Wich 71e0f59b80 Add option in sysupgrade to flash gzipped images 16 years ago
Felix Fietkau 6397e188af do not run hotplug event for aliases 16 years ago
Jo-Philipp Wich 9a72419724 - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE 16 years ago
Jo-Philipp Wich 7e6c947e4b sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa 16 years ago
Jo-Philipp Wich 8a6acee2e2 sysupgrade: install /bin/sleep into ramdisk too and add completition notice (#4747) 16 years ago
Jo-Philipp Wich 789848d327 Prevent "SIOCSIFHWADDR: Device or resource busy" when trying to change mac address 16 years ago
Nicolas Thill ac915623a6 make network config script work with brctl from both bridge-utils & busybox 16 years ago
Felix Fietkau 9b75b9e35c don't bring down interfaces when preparing them 16 years ago
Felix Fietkau 7300d22877 install missing busybox symlinks for sysupgrade (patch by Frédéric Moulins) 16 years ago
Felix Fietkau f47a4a58c5 fix sysupgrade support for brcm-2.4 and brcm47xx make mtd refresh based config append optional (leave enabled on x86) 16 years ago
Felix Fietkau 22585e578b sysupgrade: add optional delay before rebooting 16 years ago
John Crispin fd26ece7f1 fixes variables, oops 16 years ago
John Crispin 3cf1a8932b adds the option to have no proto for a interface, usefull if the uci states need to be set, but interface bring up is handled somewhere else 16 years ago
Felix Fietkau c05eb4ba63 add basic interface alias support. for now (since we don't use ip in our 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: 17 years ago
Felix Fietkau d98002bd59 avoid duplicate vlan add events 17 years ago
Felix Fietkau 11df62d176 link default routes added by the network scripts to the appropriate interface (#2621) 17 years ago
Felix Fietkau e606b1603b properly keep track of bridged interfaces in the network state 17 years ago
Travis Kemen 7346ef83e1 fix sysupgrade endian issues 17 years ago
Felix Fietkau 036b397595 fix sysupgrade 'do_upgrade: not found' error 17 years ago
Felix Fietkau 3c94156b28 fix use of uci_set_state in network scripts (thx, netprince) 17 years ago
Felix Fietkau f4f7d687f0 fix interface enumeration issues related to /var/state/network (thx to fish for debugging this) 17 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :) 17 years ago