1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 18:49:43 +02:00
Commit Graph

486 Commits

Author SHA1 Message Date
jow
414b1d969f [package] base-files: fix handling of dhcp "reqopts" option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 13:45:16 +00:00
florian
220dd05b3c [package] base-files: support port_state in led config (#6763)
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 21:49:46 +00:00
juhosg
0dbc0d2a8d package/base-files: add get_magic_long() to common upgrade script
Patch-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:37 +00:00
jow
93d22b0af8 [package] base-files: implement "reqopts" parameter for dhcp interfaces to specify additional dhcp options to request
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 07:20:24 +00:00
jow
8d05266bea [package] base-files: the busybox update to v1.15.3 completely broke udhcpc route option handling, repair default.script to work with the new format (#6435)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 07:07:15 +00:00
jow
88d51739a3 [package]Âbase-files: don't mark /etc/banner as conffile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 19:51:05 +00:00
juhosg
25156f20f7 base-files: add support for the usbdev LED trigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:14 +00:00
nbd
574f469e14 base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 08:01:21 +00:00
florian
3751e75fb0 [package] adds a --help option to /sbin/wifi
Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 11:22:56 +00:00
jow
c151dac4be [package] base-files: derive connect_time from uptime as local system time may warp due to rdate, ntp and other means
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 19:55:24 +00:00
jow
4956084c97 [package] base-files: save the connect time of interfaces in uci state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 17:37:32 +00:00
jow
293671d952 [package] base-files: disable ipv6 on bridge ports, this prevents stray RA assigned and link local addresses on bridge member devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-30 00:46:21 +00:00
jow
b71062831c [package] base-file: add metric option for static and dhcp protos, this simplifies the management of multiple default routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-17 19:11:50 +00:00
jow
ff6b458261 [package] base-files: change /dev permissions to 0755 when hotplug2 is used (#6039)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07 00:28:15 +00:00
jow
287fdd0d38 [PATCH] Fix permissions for /etc and other dirs after clean flash (#6039)
During the first OpenWrt boot after a clean flash (when the jffs2
partition is not yet initialized) tmpfs is used instead of the usual
jffs2 overlay filesystem.  If this tmpfs is mounted with default
options, all directories created there (/etc, /etc/config, other
subdirectories in /etc) get permissions 1777 by default, and these
permissions then persist in the created jffs2 at least until
subsequent sysupgrade.  Mounting tmpfs with mode=0755 fixes the
permission problem.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07 00:26:00 +00:00
jow
fff0472ed2 [package] base-files: add udhcpc vendorid option (#7744)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-06 21:21:28 +00:00
jow
f7f0781bec [package] base-files:
- add sysupgrade support for keepfile hints
		* introduces /lib/upgrade/keep.d/ for per-package keepfile lists
		* introduces /etc/sysupgrade.conf for user defined keepfile hints
	- prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg
	- change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and
	  opkg list-changed-conffiles


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 19:24:12 +00:00
jow
768e3f0496 [package] base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 07:40:25 +00:00
jow
72a89f6d9e [package] base-files: utilize uci_get_state to read the previous dhcp router address in udhcpc default script.
The setup_switch() procedure provided by swconfig calls config_load() during network restart and thus confuses
udhcpc's uci state keeping resulting in a missing default route on each second network restart. Bypass the
cached state vars and query uci directly to make the script immune against unwanted runtime changes. 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 00:07:07 +00:00
jow
76dacb06e8 [package] base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 17:32:58 +00:00
cshore
a1a1bdd221 [base system & package/block-extroot] Fixed duplicated content in file in commit 23111
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 14:06:47 +00:00
cshore
5509505bae [base system & package/block-extroot] Missed file committing previous change 23110
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 14:03:22 +00:00
cshore
848953efdf [package] base/block-extroot, base/block-mount: Modified preinit and block-extroot and
block-mount so that use of block-mount and block-extroot do not require that block-extroot,
block-mount, nor the kernel modules they depend, on are required to included in the image.
That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of
a squashfs system and it will work. 
In addition packages which are installed into the jffs2 of a squashfs system may now affect
preinit, so long as they do not require execution of commands that occur before the merging of
the jffs2 and built-in (squashfs) preinit scripts is done.

Thanks jow for the preinit merge stuff!



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 13:58:05 +00:00
cshore
92a1aaeba2 [package] base-files: Add function pi_include the /lib/functions/boot.sh used by preinit, which safely sources files as well as working correctly whether the script using it is a package added to the jffs2 part of a squashfs or built into an image or on some other root filesystem.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 23:29:40 +00:00
jow
0f55e30c2e [package] base-files: kill possibly existing udhcpc instance when bringing up a dhcp iface, utilize service_kill() in dhcp shutdown.
Based on patch by Stijn Tintel. Possibly related to #7314



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 15:13:06 +00:00
jow
835a68409c [package] base-files: cached state vars after scan_interfaces might be out of sync when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 15:04:08 +00:00
jow
69b947b01b [package] base-files: introduce service_kill() into functions.sh - a convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 14:03:32 +00:00
jow
feaf88f721 [package] base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-07 22:20:26 +00:00
jow
e3198ce2ac [package] base-files, uci: properly revert list state on config_load
This fixes a bug where lists end up with duplicate values if config_load was
invoked multiple times.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 00:45:15 +00:00
hcg
e3efdd6ac7 base_files: Remove . from end of localhost entry
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 08:00:40 +00:00
jow
8eea743a53 [package] base-files: r22444 caused interfaces to remain down if the macaddr option is used, fix it. Also localize the txqueuelen option variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 20:45:52 +00:00
florian
f2ce924259 [package] add txqueuelen option, patch from Roberto Riggio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 22:32:28 +00:00
jow
6a91be99c7 [package] base-files: localize variable in do_move_devtmpfs(), remove extra temporary variable and shorten conditional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 19:33:11 +00:00
acoul
cb108e4d04 package/base-files: add support for devtmpfs (thank you rauchwolke at gmx.net)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 19:21:27 +00:00
jow
b8e09b9b3c [package] base-files: unconditionally unlock the rootfs_data partition (#7437)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 15:47:15 +00:00
jow
825dbb37aa [package] base-files, busybox: fix 22279, simplify code and get rid of awk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-18 18:36:12 +00:00
cshore
b1acaee343 [package] base-files & telnet: Fixed telnet starting even with root password when shadow passwords in use.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-18 15:18:38 +00:00
nbd
098781b9c8 wifi: fix duplicate ht capabilities in the hostapd config file by clearing the list at config load time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:12 +00:00
jow
0218c10c87 [package] base-files: add "mtu" option for route sections, allows setting per-route mtu values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 23:46:34 +00:00
jow
4ff430ad8a [package] base-files: enable IPv6 forwarding by default since the default firewall supports ip6tables now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 16:59:12 +00:00
jow
f26814c7cb [package] base-files: introduce option "broadcast" for proto=dhcp interface to enable the broadcast flag in DHCP requests, required by certain providers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 20:21:41 +00:00
jow
403a2f7489 [package] base-files: remove IPv6 LL addr from interfaces before adding them to a bridge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 17:18:38 +00:00
jow
796dcb6b2e [package] base-files:
- add aliases to device by default (not ifname)
	- introduce option "layer" to select the target ifname to attach the alias to:
		- 3 use tun device (tun over bridge over device) fallback to bridge or device
		- 2 use bridge (bridge over device) fallback to device
		- 1 use device


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 00:22:13 +00:00
jow
85773b84be [package] base-file: move alias setup to route hotplug, this fixes alias sections for non-static interfaces like ppp, dhcp, 6in4 etc.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 21:43:52 +00:00
jow
b95109266d [package] base-files: don't skip subsequent hotplug rules when doing makedev for tun or tap interfaces - this fixes support for uci managed OpenVPN interfaces and other externally created tuntap devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-31 01:22:36 +00:00
jow
9c250a1ea9 [package] base-files:
- use add_dns() and remove_dns() for when changing resolv.conf.auto for static or dhcp interfaces
	- force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces
	- revert dns servers in /sbin/ifdown
	- bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 18:23:43 +00:00
jow
cee93be017 [package] base-files: revert r21595
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 10:52:02 +00:00
jow
976f789aba [package] base-files: bring bridge port iface down before changing the mac (#7111)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 00:59:19 +00:00
jow
2f1ada2c70 [package] base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net hotplug handler to match them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 00:35:54 +00:00
jow
526fb3c824 [package] base-files: respect .auto option when running coldplug_interface_*() hooks on boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 23:04:56 +00:00
nbd
347c600521 when changing the mac address of a bridge interface, keep member interface addresses in sync (patch from #7111)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:04:28 +00:00
jow
fddbe85964 [package] base-files: fix a preinit hang in jffs2_ready() when no rootfs_data partition is found (#7362)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-20 05:57:54 +00:00
jow
5d18a177d8 [package] base-files (#7316)
- improve rdate reliability
	- make rdate config more ntp like
	- move time server list to /etc/config/timeserver
	- bump package revision            


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 19:54:35 +00:00
jow
6a7755ee8f [package] base-files: use uci_get() wrapper (#7312)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 19:34:08 +00:00
jow
7f0eb037a2 [package] base-files: add add_dns() and remove_dns() helpers to network config, useful to merge dns entries from multiple interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 01:17:47 +00:00
jow
ee56eec69c [package] base-files: add a coldplug_interface_* hook to bring up non-hotpluggable interfaces on boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 19:50:22 +00:00
jow
19b6acd090 [package] base-files, ppp: fix interface shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 01:14:24 +00:00
jow
d9494637a8 [package] base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and move it to protocol stop callbacks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 23:24:11 +00:00
nbd
6f7937d42b base-files: do not bring up wlan interfaces from hotplug events, so that wrong network/wireless configs are more noticeable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 15:56:58 +00:00
acinonyx
4ca110a5a3 [package] base-files: Remove redundant stopping of watchdog
busybox watchdog applet should stop the watchdog before shutting down

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 10:56:58 +00:00
florian
8e61b43b86 [package] add stop() to watchdog init script, patch from Yury Polyanskiy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 09:05:35 +00:00
florian
e47ea57307 Fix bug in foregrounding in /etc/init.d/rcS
Not using the config_xxx functions correctly.  Amended.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 18:14:08 +00:00
florian
04c9400934 [package] option to allow boot to run to completion before starting shell
Setting the system variable "foreground" to yes causes the system to run
the init scripts in series and wait for completion.

This is useful if (a) you don't want the user getting into the console
until the system is initialized, or (b) you have things going on in your
scripts that require strict ordering (and no possible race conditions).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 19:57:25 +00:00
nbd
d84ff5d609 fix jffs2 and mini_fo mount in failsafe (patch from #7134)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 14:24:58 +00:00
florian
fc6a5146e9 [package] add debugging entry to hotplug config
This is useful for seeing what devices are detected by the system.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 18:35:14 +00:00
acinonyx
98f8e41849 [package] base-files: Use hotplug2 to download firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 18:21:02 +00:00
jow
c07af08426 [package] base-files: also regenerate wifi config if existing config contains only whitespace
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 13:31:59 +00:00
acinonyx
a9e78431f4 [package] base-files: Cancel firmware loading if file doesn't exist
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 15:22:13 +00:00
nico
e0faab81aa [package] base-files: fix shell syntax (prevent error messages when activating initscripts in IB)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 03:58:17 +00:00
jow
1ac5ad687b [package] base-files: add a hotplug handler for rdate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:13:33 +00:00
jow
4a78f61b44 [package] base-files: make press key message more explicit in preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 22:56:12 +00:00
florian
9e7554db87 change from /jffs to /overlay, patch from Daniel Dickinson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 17:16:50 +00:00
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