summaryrefslogtreecommitdiff
path: root/package/base-files/files
AgeCommit message (Collapse)Author
2009-09-14[package] base-files: dispatch ifdown events for proto=none interfaces and ↵jow
fix a race condition between revert state and hotplug handlers git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-12[package] base-files: add /etc/rc.local to the default save file listjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-11[package] base-files: introduce a ready-to-use /etc/rc.local to let users ↵jow
run custom commands on init without creating custom init scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-09Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵nbd
(r17527) until we've solved the race conditions it creates git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06fix nonhotpluggable networks not being brought up. Closes #2781thepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05package/base-files: set state to 'preinit' before preinit.arch is used, and ↵juhosg
set state to 'failsafe' when entering failsafe mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05Revert "add ifup -a to boot(), closes #4543 #2781" (r17515)nbd
Hotpluggable interfaces are already brought up before /etc/init.d/network boot and this change can break them, if the ifup -a command runs at the wrong time, also starts many interfaces twice, which can lead to issues with PPPoE. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05add ifup -a to boot(), closes #4543 #2781thepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-04extend logging functionsthepeople
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02preinit: fix failsafe mode through ctrl+c on devices that do not provide a ↵nbd
preinit.arch file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24udev: Update udev package from udev-106 to udev-142geoff
Update the init scripts have to use udevadm where appropriate. The udev package no longer provides separate udev utilities like udevtrigger and udevsettle. These have been incorporated into the udev admin program udevadm. Replace the udevextras sub package with config options to the udev package. Update the preinit script to check for '/lib/udev/devices', and copy it to '/dev/ if it is found, then to conditionaly setup /dev the old way with mknod etc. Udev now recommends using the directory '/lib/udev/devices' to initialize the '/dev' directory at startup. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-19[package] base-files: fix sysupgrade get_magic_word() function to return ↵jow
proper values if the first two bytes are identical git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-10[package] base-files: move ipv6 module loading from setup_interface() to ↵jow
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
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-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-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-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-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[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-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-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