summaryrefslogtreecommitdiffstats
path: root/package/base-files
Commit message (Collapse)AuthorAgeFilesLines
* add missing argument to debug/mount wrappers (thx, matteo)nbd2009-12-091-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* do not start multiple subshells for applying /etc/uci-defaults. use sh -x ↵nbd2009-12-092-6/+5
| | | | | | for hush compatibility git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* functions.sh: use functions instead of aliases for the debug, mount wrappers ↵nbd2009-12-091-2/+7
| | | | | | - hush does not have aliases git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix firmware loading broken by the busybox upgradenbd2009-12-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mount debugfs by defaultnbd2009-11-231-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: sysupgrade: restrict find command to plain files to ↵jow2009-11-202-2/+3
| | | | | | avoid duplicates when generating the conffiles tgz archive git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* neither avr32 or coldfire has a shared libgcckaloz2009-11-121-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* do not relink libresolv, it makes iproute2 barfnbd2009-10-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove obsolete uci validation awk codenbd2009-10-206-654/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove obsolete stuff from common.awknbd2009-10-201-42/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: only try to execute watchdog if binary is presentjow2009-10-202-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead ↵nbd2009-10-201-1/+5
| | | | | | of using the standard _pic variant git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* install the right version of libgcc along with its version map to fix ↵nbd2009-10-201-1/+4
| | | | | | relinking issues with mklibs, attempt to relink only if the version map is actually present git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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