summaryrefslogtreecommitdiff
path: root/package/base-files
AgeCommit message (Collapse)Author
2009-08-07base-files: some /lib/network/config.sh refactoringnbd
* 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
2009-08-07base-files: clean up init.d/fstab and port it to the new config_getnbd
... 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
2009-08-07base-files: port init.d/led to new config_getnbd
... 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
2009-08-07base-files: port init.d/boot to new config_getnbd
... 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
2009-08-07base-files: port functions.sh to new config_getnbd
Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07base-files: allow default value for config_getnbd
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
2009-08-04[package] base-files: ensure that ipv6 is loaded if interfaces have an ↵jow
ip6addr defined, clean trailing whitespace, bump pkg revision (#5356) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01[package] prevent rebuild issues on creation of lib64 with 64-bits targetsflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26[pakcage] simplify action handling in rc.common (#5558)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-12udhcpc: Pass all events to udhcpc.useracinonyx
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
2009-07-03allow udhcpc to work properly for interfaces that are not configured through ucinbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-02[package] base-files: explicitly create /etc/rc.d/, fixes ImageBuilder when ↵agb
using git instead of svn git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29[package] base-files: Fix sysupgrade .tar.gz configuration restoringacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29[package] base-files: ipcalc.sh: fix off-by-one in range-calculationjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-21add preliminary coldfire v4e supportkaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-17change sysctl.conf to disable tcp ecn by default (based on discussion with ↵nbd
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
2009-06-17[package] sysupgrade: sync *before* mtd write, only fallback to ↵jow
sysrq-trigger if standard reboot fails git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-13udhcpc: add cidr routes support (patch from #5299)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10[package] base-files: Add support for bzipped images in sysupgradeacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10[package] base-files: Detect and decompressed gzipped images automatically ↵acinonyx
when flashing with sysupgrade git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10[package] base-files: format hexdump output instead of using awk for sysupgradeacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03[package] base-files: fix test experession for sysupgradeacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01network: prevent unnecessary interface down/up cycles if no mac address ↵nbd
change is requested git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01network: do not unnecessarily touch interfaces configured as proto=none; ↵nbd
bring down old aliases before setting up new ones git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01[hotplug2] Removed extra ; in exec rulehcg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31[package] fix drivers firmware loading with the new hotplug2, patch from ↵florian
Russell Senior git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-30[package] base-files: set rules file for hotplug2 in the boot script (closes ↵juhosg
#5235) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28[package] base-files: update command line for the new hotplug2juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-23fix mips64el base-files compilenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17[package] base-files: fixup resolv.conf check in udhcpc scriptjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17[package] base-files: initialize GZIPED to 0 in sysupgrade since it's used ↵nico
later in numeric comparisons git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-15[package] sysupgrade: use sysrq-trigger if availablejow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-10[package] base-files:jow
- 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
2009-05-09[package] base-files: show reboot notification is sysupgradejow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07[package] create the lib64 symbolic links for 64-bits supported ↵florian
architectures (#5075) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07[sysupgrade] Don't try to pivot to new ramfs if already running on onejow
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
2009-05-07[PATCH] Add option in sysupgrade to flash gzipped imagesjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-06[package] base-files: replace udhcpc script with an improved versionjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04base-files: Add additional base-files search pathshcg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30rcS: wait for init scripts to complete before initiating the shutdown (patch ↵nbd
from #5032) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30[package] base-files: make diag.sh stub working in bashjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27introduce a generic PKG_CONFIG_DEPENDS for packages that need to be ↵nico
reconfigured when certain CONFIG options changed, rename PKG_BUILD_DEPEND to PKG_BUILD_DEPENDS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24[toolchain] uClibc cleanup:nico
- use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21add an explicit 'sysinit' tag for logging initscripts output, instead of '' ↵nico
that was logged as is git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19fix broken logic in r15272, r15273jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19[package] base-files: (#4928)jow
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
2009-04-17get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-14move ldconfig & ldd to utils sectionnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-13do not run hotplug event for aliasesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-12[package] base-files: remove redundant netmask handling in 10-routesjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15219 3c298f89-4303-0410-b956-a3cf2f4a3e73