summaryrefslogtreecommitdiffstats
path: root/package/base-files
Commit message (Collapse)AuthorAgeFilesLines
* check for sysfs before bypassing normal hotplug calls for firmware events ↵nbd2009-10-031-1/+1
| | | | | | (fixes #5200) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add hotplug rules for /dev/lpX (#863)jow2009-09-282-1/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firstboot: add support for union mountsnbd2009-09-271-23/+60
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: move firstboot to /sbinnbd2009-09-272-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17775 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add libgcc dependency to libc (#5262)nbd2009-09-241-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17714 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] add external toolchain support, enhance native toolchain support ↵nico2009-09-231-31/+269
| | | | | | (special thanks to Luigi Mantellini for his help... and patience ;) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cosmetic] accommodate for 5 digits svn revisions :)nico2009-09-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: fix conffiles entry check (patch from #2425)nbd2009-09-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: clear ip addresses on interfaces that are about to be ↵jow2009-09-162-1/+3
| | | | | | added to a bridge git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: dispatch ifdown events for proto=none interfaces and ↵jow2009-09-142-3/+3
| | | | | | 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
* [package] base-files: add /etc/rc.local to the default save file listjow2009-09-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: introduce a ready-to-use /etc/rc.local to let users ↵jow2009-09-113-1/+10
| | | | | | 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
* [package] bump some revisions and update copyrightsagb2009-09-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵nbd2009-09-093-17/+0
| | | | | | (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
* fix nonhotpluggable networks not being brought up. Closes #2781thepeople2009-09-063-0/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: set state to 'preinit' before preinit.arch is used, and ↵juhosg2009-09-052-3/+4
| | | | | | set state to 'failsafe' when entering failsafe mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "add ifup -a to boot(), closes #4543 #2781" (r17515)nbd2009-09-051-1/+0
| | | | | | | | 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
* add ifup -a to boot(), closes #4543 #2781thepeople2009-09-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* extend logging functionsthepeople2009-09-041-7/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* preinit: fix failsafe mode through ctrl+c on devices that do not provide a ↵nbd2009-09-021-1/+5
| | | | | | preinit.arch file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclibc: to rebuild libc.so.0, mklibs.py needs access to libc_so.a which was ↵nbd2009-08-291-0/+1
| | | | | | not exported by default. use it instead of libc_pic.a git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow mklibs.py to optimize libgcc_s.so.1nbd2009-08-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* udev: Update udev package from udev-106 to udev-142geoff2009-08-241-4/+8
| | | | | | | | | | | | | | | | | | | | | 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
* now that each target has its own package directory, remove the base-files ↵nbd2009-08-201-7/+5
| | | | | | package renaming hack git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [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-103-10/+7
| | | | | | 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
* install static libraries from uclibc to the rootfs staging dirnbd2009-08-081-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17169 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-042-13/+22
| | | | | | ip6addr defined, clean trailing whitespace, bump pkg revision (#5356) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] prevent rebuild issues on creation of lib64 with 64-bits targetsflorian2009-08-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17072 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: explicitly create /etc/rc.d/, fixes ImageBuilder when ↵agb2009-07-021-1/+2
| | | | | | using git instead of svn git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16652 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
* add preliminary coldfire v4e supportkaloz2009-06-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16538 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-172-4/+5
| | | | | | 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