florian
ab6cd4fec9
[package] quieten the check for devs, thanks nbd
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 21:09:53 +00:00
florian
a48c17c257
[package] /dev/null was used before it was created, so an
...
empty file was created. This prevented the actual device node from
being created. The attached patch fixes that, patch from cshore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 21:01:21 +00:00
nbd
fdf15c4817
when rebooting, use lazy umounts as fallback (patch by puchu)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 18:17:57 +00:00
nbd
29cfba65a4
stop syslogd before rebooting, otherwise umount might not work properly when logging to a file (thx, puchu)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 18:17:52 +00:00
nbd
520eba9de8
when rebooting, stop the network interfaces last (just before umount) to allow services to shut down properly (thx, puchu)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 18:17:48 +00:00
nbd
01eb768093
base-files: do not warn about nonexistant sysctl overrides (some of them are config dependent)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-29 02:17:11 +00:00
nbd
5b5b4dd41c
preinit: Remove Ctrl-C prompt...impossible on /dev/console (patch by cshore)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-28 19:27:49 +00:00
juhosg
0d86c01993
base-files: don't build '00_preinit.conf' if CONFIG_PREINITOPT is not selected
...
Also, use the default pi_broadcast address if it is not specified
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-26 14:41:26 +00:00
nbd
6ffb5e8bc6
fix missing quote (thx, puchu)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 23:03:53 +00:00
nbd
a9929695c6
add preinit modularization work by Daniel Dickinson (cshore)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 17:11:17 +00:00
nbd
653a848d6d
fix a typo in the hwmode handling in /sbin/wifi (thx, maddes)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-24 14:27:27 +00:00
jow
3a3c05eb90
[package] base-files: ensure that the ip6addr of the main interface stays the primary ip by re-adding it after alias setup is completed - patch by Alina Friedrichsen
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23 22:56:07 +00:00
jow
f5cd730117
[package] base-files: try to activate hotplugged partitions as swap and fall back to lazy mount ( #6517 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23 21:58:01 +00:00
jow
5b24113601
[package] base-files: disable bridge firewalling by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-18 05:38:44 +00:00
jow
89a382a252
[package] base-files:
...
sysupgade library coomon.sh has "bug" in glibc enviorement. For some reason
ld-linux.so.3 is not installed at ramfs and sysupgrade always fails.
Signed-off-by: Zintis Petersons <zintis.petersons@e-mail.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 13:39:13 +00:00
jow
505a102cb3
[package] base-files, mac80211 ( #6491 )
...
- fix wep key handling in iw with mac80211 based drivers
- sanitize keys where necessary
- put a procedure prepare_key_wep() into /sbin/wifi for use by other driver backends
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 18:39:44 +00:00
nbd
ae83c51a2e
run led init after /etc/init.d/done to keep the configured led settings active after the system has finished booting
...
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-06 02:34:20 +00:00
hcg
eca3f8f215
Add udhcpc command-line argument to request rootpath
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-21 10:25:15 +00:00
nico
c07f9537ab
[package] base-files: check for libpthread_so.a instead of libc_so.a (some gcc/libc combinations don't provide a libpthread_so.a matching libc_so.a)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 10:32:38 +00:00
nbd
3982cd8ffe
add missing argument to debug/mount wrappers (thx, matteo)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 17:13:16 +00:00
nbd
daa59b7513
do not start multiple subshells for applying /etc/uci-defaults. use sh -x for hush compatibility
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 15:15:25 +00:00
nbd
8f027803a0
functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 13:36:43 +00:00
nbd
5d481506b4
fix firmware loading broken by the busybox upgrade
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 20:04:38 +00:00
nbd
5362dd1b5a
mount debugfs by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-23 20:35:05 +00:00
jow
7e63500a28
[package] base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-20 23:02:35 +00:00
kaloz
62cade03b8
neither avr32 or coldfire has a shared libgcc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-12 12:20:38 +00:00
nbd
b3c44ec1cc
do not relink libresolv, it makes iproute2 barf
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 22:22:59 +00:00
nbd
682f9b3fa9
remove obsolete uci validation awk code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 21:48:40 +00:00
nbd
9c95941f5d
base-files: remove obsolete stuff from common.awk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 21:45:57 +00:00
jow
11adc3d3d9
[package] base-files: only try to execute watchdog if binary is present
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 17:07:08 +00:00
nbd
96ff9f58c6
fix pthread mklibs relinking by copying libpthread_so.a from uclibc instead of using the standard _pic variant
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 07:26:34 +00:00
nbd
12efcae535
install the right version of libgcc along with its version map to fix 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
2009-10-20 06:57:19 +00:00
nbd
abb09c1f95
check for sysfs before bypassing normal hotplug calls for firmware events ( fixes #5200 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-03 11:28:02 +00:00
jow
1106afd9fe
[package] base-files: add hotplug rules for /dev/lpX ( #863 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-28 20:05:50 +00:00
nbd
9f19c5e029
firstboot: add support for union mounts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-27 22:56:21 +00:00
nbd
4a7259e39d
base-files: move firstboot to /sbin
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-27 22:56:11 +00:00
nbd
bd6f974a3f
base-files: add libgcc dependency to libc ( #5262 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-24 22:02:39 +00:00
nico
6a36104faa
[toolchain] add external toolchain support, enhance native toolchain support (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
2009-09-23 02:27:38 +00:00
nico
1eb016da89
[cosmetic] accommodate for 5 digits svn revisions :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-22 03:05:45 +00:00
nbd
ac7068d7d7
base-files: fix conffiles entry check (patch from #2425 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-19 23:04:34 +00:00
jow
9fbe9e1ad0
[package] base-files: clear ip addresses on interfaces that are about to be added to a bridge
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-16 14:21:19 +00:00
jow
b8df1b4c80
[package] base-files: dispatch ifdown events for proto=none interfaces and 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-14 16:14:27 +00:00
jow
286159df02
[package] base-files: add /etc/rc.local to the default save file list
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-12 15:57:31 +00:00
jow
f4a0466de8
[package] base-files: introduce a ready-to-use /etc/rc.local to let users 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-11 21:35:03 +00:00
agb
fcf2c28149
[package] bump some revisions and update copyrights
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 10:07:04 +00:00
nbd
7f2d4d8bb1
Revert "fix nonhotpluggable networks not being brought up. Closes #2781 " (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-09 00:16:55 +00:00
thepeople
943fc97fb0
fix nonhotpluggable networks not being brought up. Closes #2781
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 17:02:14 +00:00
juhosg
e325b77df1
package/base-files: set state to 'preinit' before preinit.arch is used, and 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-05 18:44:48 +00:00
nbd
7252622410
Revert "add ifup -a to boot(), closes #4543 #2781 " (r17515)
...
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-05 13:05:59 +00:00
thepeople
412b70da5e
add ifup -a to boot(), closes #4543 #2781
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05 05:33:23 +00:00