nico
a1db51bb9b
[package] base-files: fix preinit code typos
...
Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl>
Acked-by: Daniel Dickinson <cshore@csolve.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 18:09:53 +00:00
nico
75c1ca710a
firstboot: detect mtd, rom & jffs parts first, fix jffs mounted test
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 00:53:51 +00:00
thepeople
bab04c244d
revert r19964 for now, there are issues with opkg/ipkg.py generating the status db
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 02:42:23 +00:00
thepeople
9de9ca8ccf
grab all config files for installed packages, closes #3718
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-03 18:19:19 +00:00
nico
d7c7e4f683
firstboot: fix typo ( closes : #6738 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 23:54:45 +00:00
nbd
5c26b81aaa
base-files: fix enter failsafe message
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 18:20:39 +00:00
nbd
61b3612483
add block-extroot, a package for using an external filesystem as rootfs (patch by cshore)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 22:46:10 +00:00
nbd
faf7173b4d
add the block-mount package by Daniel Dickinson (cshore), replacing existing automount functionality
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 22:45:39 +00:00
jow
3abdc13b68
[package] base-files: add /dev/hvcX to hotplug common rules
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 18:57:01 +00:00
jow
ef34750d84
[package] base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 02:06:57 +00:00
thepeople
accff9a4a7
Here is LVM support for OpenWRT. It introduces 3 new packages:
...
- kmod-dm for the device mapper kernel module.
- kmod-libdevmapper for the device-mapper library.
- kmod-lvm2 for the lvm tool.
Note that it currently does not create the symlinks for all the lvm
tools, so you have to use lvm pvs rather than just pvs.
Thanks Stefan Monnier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 01:37:02 +00:00
lars
ab8bd8a6bd
[base-files] Don't do lazy unmounting of filessystems at reboot/poweroff.
...
It is unneeded and could couse a broken filesystem if unmounting takes to long.
Thanks to Peter Wagner
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-09 18:07:36 +00:00
jow
767efecb56
[package] base-files: fix udhcpc address acquisition on network restart (patch by Scott Dudley)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-05 07:57:07 +00:00
nbd
f65f68dbdf
/sbin/wifi: improve reliability of restarts by resetting the state properly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-02 02:19:10 +00:00
jow
766d5faedc
[package] base-file: revert unrelated change accidentally committed in r19478
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 02:00:57 +00:00
jow
8a51d0046e
[package] base-files: preinit: get rid of /dev/null redirections and use grep -q where applicable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 00:32:46 +00:00
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
thepeople
a7ad6546ea
extend logging functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-04 21:09:13 +00:00
nbd
8060daacd7
preinit: fix failsafe mode through ctrl+c on devices that do not provide a preinit.arch file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02 15:14:53 +00:00
nbd
237a5a2c34
uclibc: to rebuild libc.so.0, mklibs.py needs access to libc_so.a which was 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
2009-08-29 11:56:27 +00:00
nbd
dc91a5dcef
allow mklibs.py to optimize libgcc_s.so.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-29 03:51:43 +00:00
geoff
07ef852b5f
udev: Update udev package from udev-106 to udev-142
...
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-24 20:19:26 +00:00
nbd
3784adc486
now that each target has its own package directory, remove the base-files package renaming hack
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20 15:31:22 +00:00
jow
d72fab0bfc
[package] base-files: fix sysupgrade get_magic_word() function to return 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-19 19:12:34 +00:00
jow
11a916c4df
[package] base-files: move ipv6 module loading from setup_interface() to 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-10 23:48:10 +00:00
nbd
5d58e1d922
install static libraries from uclibc to the rootfs staging dir
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:45 +00:00
nbd
282aff2625
base-files: some /lib/network/config.sh refactoring
...
* 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-07 00:08:06 +00:00
nbd
e4895b7178
base-files: clean up init.d/fstab and port it to the new config_get
...
... 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-07 00:08:01 +00:00
nbd
770318bd49
base-files: port init.d/led to new config_get
...
... 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-07 00:07:56 +00:00
nbd
8a855b152e
base-files: port init.d/boot to new config_get
...
... 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-07 00:07:51 +00:00
nbd
d84cebe2b4
base-files: port functions.sh to new config_get
...
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-07 00:07:46 +00:00
nbd
eb62b765c4
base-files: allow default value for config_get
...
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-07 00:07:42 +00:00
jow
ef1435675c
[package] base-files: ensure that ipv6 is loaded if interfaces have an 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-04 00:06:47 +00:00
florian
c69d98c0cc
[package] prevent rebuild issues on creation of lib64 with 64-bits targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 10:51:19 +00:00
florian
8436680884
[pakcage] simplify action handling in rc.common ( #5558 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26 12:34:09 +00:00
acinonyx
7c0132efd3
udhcpc: Pass all events to udhcpc.user
...
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-12 15:38:04 +00:00
nbd
8ae4dfd85c
allow udhcpc to work properly for interfaces that are not configured through uci
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-03 22:12:40 +00:00
agb
32976620d3
[package] base-files: explicitly create /etc/rc.d/, fixes ImageBuilder when using git instead of svn
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-02 07:24:44 +00:00
acinonyx
75b6ff7031
[package] base-files: Fix sysupgrade .tar.gz configuration restoring
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29 21:13:05 +00:00
jow
b0dfa67387
[package] base-files: ipcalc.sh: fix off-by-one in range-calculation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29 11:35:33 +00:00
kaloz
dccbe704f2
add preliminary coldfire v4e support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-21 18:34:07 +00:00
nbd
6972e6f26a
change sysctl.conf to disable tcp ecn by default (based on discussion with 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 21:57:07 +00:00
jow
032f0de1f9
[package] sysupgrade: sync *before* mtd write, only fallback to sysrq-trigger if standard reboot fails
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-17 11:09:10 +00:00
nbd
49d3415549
udhcpc: add cidr routes support (patch from #5299 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-13 14:42:47 +00:00
acinonyx
337bcd03ce
[package] base-files: Add support for bzipped images in sysupgrade
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 22:34:14 +00:00
acinonyx
4f43c816a4
[package] base-files: Detect and decompressed gzipped images automatically when flashing with sysupgrade
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 22:22:48 +00:00
acinonyx
510e735d56
[package] base-files: format hexdump output instead of using awk for sysupgrade
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 21:52:07 +00:00
acinonyx
5b0cf9ddca
[package] base-files: fix test experession for sysupgrade
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 18:15:04 +00:00
nbd
5d422a4b0e
network: prevent unnecessary interface down/up cycles if no mac address change is requested
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 18:09:05 +00:00
nbd
ce35aafec5
network: do not unnecessarily touch interfaces configured as proto=none; 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 18:07:44 +00:00
hcg
9ef5191b01
[hotplug2] Removed extra ; in exec rule
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 08:48:37 +00:00