summaryrefslogtreecommitdiffstats
path: root/package/base-files/files
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files: fix sysupgrade get_magic_word() function to return ↵jow2009-08-191-1/+1
| | | | | | proper values if the first two bytes are identical git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: move ipv6 module loading from setup_interface() to ↵jow2009-08-102-9/+6
| | | | | | addif() in the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: some /lib/network/config.sh refactoringnbd2009-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17160 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: clean up init.d/fstab and port it to the new config_getnbd2009-08-071-18/+14
| | | | | | | | ... also remove the unused noauto variable in swapon. Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: port init.d/led to new config_getnbd2009-08-071-8/+6
| | | | | | | | ... and don't call logger directly, rcS takes care of the correct redirection Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: port init.d/boot to new config_getnbd2009-08-071-9/+10
| | | | | | | | ... and localize some variables. Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17157 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: port functions.sh to new config_getnbd2009-08-071-2/+2
| | | | | | Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: allow default value for config_getnbd2009-08-071-6/+9
| | | | | | | Signed-off-by: Malte S. Stretz <mss@apache.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: ensure that ipv6 is loaded if interfaces have an ↵jow2009-08-041-12/+21
| | | | | | ip6addr defined, clean trailing whitespace, bump pkg revision (#5356) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [pakcage] simplify action handling in rc.common (#5558)florian2009-07-261-23/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17012 3c298f89-4303-0410-b956-a3cf2f4a3e73
* udhcpc: Pass all events to udhcpc.useracinonyx2009-07-121-3/+3
| | | | | | | | | | Petitboot and maybe other apps need to know when the dhcp lease is lost. Move the udhcpc.user call to send it all udhcpc events. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow udhcpc to work properly for interfaces that are not configured through ucinbd2009-07-031-23/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Fix sysupgrade .tar.gz configuration restoringacinonyx2009-06-292-13/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: ipcalc.sh: fix off-by-one in range-calculationjow2009-06-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change sysctl.conf to disable tcp ecn by default (based on discussion with ↵nbd2009-06-171-1/+1
| | | | | | marek who stumbled upon this, it creates hard-to-debug connectivity issues with providers/servers that still use buggy equipment) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] sysupgrade: sync *before* mtd write, only fallback to ↵jow2009-06-171-3/+4
| | | | | | sysrq-trigger if standard reboot fails git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* udhcpc: add cidr routes support (patch from #5299)nbd2009-06-131-0/+74
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Add support for bzipped images in sysupgradeacinonyx2009-06-101-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Detect and decompressed gzipped images automatically ↵acinonyx2009-06-102-11/+15
| | | | | | when flashing with sysupgrade git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: format hexdump output instead of using awk for sysupgradeacinonyx2009-06-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix test experession for sysupgradeacinonyx2009-06-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* network: prevent unnecessary interface down/up cycles if no mac address ↵nbd2009-06-011-2/+3
| | | | | | change is requested git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16269 3c298f89-4303-0410-b956-a3cf2f4a3e73
* network: do not unnecessarily touch interfaces configured as proto=none; ↵nbd2009-06-011-2/+11
| | | | | | bring down old aliases before setting up new ones git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [hotplug2] Removed extra ; in exec rulehcg2009-06-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix drivers firmware loading with the new hotplug2, patch from ↵florian2009-05-311-1/+1
| | | | | | Russell Senior git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: set rules file for hotplug2 in the boot script (closes ↵juhosg2009-05-301-0/+1
| | | | | | #5235) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: update command line for the new hotplug2juhosg2009-05-282-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fixup resolv.conf check in udhcpc scriptjow2009-05-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: initialize GZIPED to 0 in sysupgrade since it's used ↵nico2009-05-171-2/+2
| | | | | | later in numeric comparisons git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] sysupgrade: use sysrq-trigger if availablejow2009-05-151-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:jow2009-05-101-1/+8
| | | | | | | | - restore device, ifname and aliases state in dhcp script - make sure that resolv.conf.tmp is written once at least for statically configured dns git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: show reboot notification is sysupgradejow2009-05-091-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15730 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [sysupgrade] Don't try to pivot to new ramfs if already running on onejow2009-05-071-2/+6
| | | | | | | | | | | | | This patch allows the sysupgrade script to continue with the upgrade if openwrt is already running on a ramfs. This allows the use of the sysupgrade script as an _installer_ when running from an iso image. A user could boot the system from a bootable cd and invoke sysupgrade -n <URL> to write an image to the hard disk or CF. Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] Add option in sysupgrade to flash gzipped imagesjow2009-05-072-4/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: replace udhcpc script with an improved versionjow2009-05-061-74/+116
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rcS: wait for init scripts to complete before initiating the shutdown (patch ↵nbd2009-04-302-6/+12
| | | | | | from #5032) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: make diag.sh stub working in bashjow2009-04-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an explicit 'sysinit' tag for logging initscripts output, instead of '' ↵nico2009-04-211-1/+1
| | | | | | that was logged as is git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix broken logic in r15272, r15273jow2009-04-191-5/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: (#4928)jow2009-04-191-0/+7
| | | | | | | | | | handle "option gateway 0.0.0.0" and "option gateway interface" in route sections as "no gateway given" to allow defining gateway-less routes while still keeping the possibility to have static routes with a proper gateway on interfaces with# dynamic ips git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* do not run hotplug event for aliasesnbd2009-04-131-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: remove redundant netmask handling in 10-routesjow2009-04-121-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15219 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [wifi] In wifi_fixup_hwmode the value 11bg for hwmode was not transfered to bg.hauke2009-04-091-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tweak some sysctl values for better performancenbd2009-04-071-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename our /bin/login script to /bin/login.sh to avoid collisions with ↵nbd2009-04-042-1/+1
| | | | | | busybox - we always use -l on telnetd anyway git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix failsafe modenbd2009-04-041-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* udhcpc: run dhcp hotplug events after dns has been setnbd2009-04-041-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wifi: fix hostapd + autochannelnbd2009-03-271-0/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package]jow2009-03-252-3/+11
| | | | | | | | | - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15042 3c298f89-4303-0410-b956-a3cf2f4a3e73