nbd
6e3fb9dc77
base-files: reload switch settings on /etc/init.d/network start as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 14:02:49 +00:00
nbd
176d390d98
fix error output of brctl if bridging is not supported.
...
The following error is displayed during network configuration on any device that has DEVICE_TYPE set to something else then router, or has brctl functionality disabled through some other method:
"brctl: SIOCGIFBR: Package not installed"
This is due to the unbridge function being called, which uses "brctl show" to determine if the interface is bridged.
Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 21:10:07 +00:00
jow
a1c8970a2f
[package] base-files: force preinit to use busybox mount ( #6797 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-13 02:59:05 +00:00
juhosg
86a0b33fa1
package/base-files: call preinit_ip_deconfig before processing init on
...
initramfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 14:37:19 +00:00
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
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
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
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
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
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