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
nico
d0ba466fb6
package/base-files: fix libraries packaging on 64bits targets ( closes : #6918 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 13:29:04 +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
nico
b4f7ed76fd
package/base-files: fix typo in r20874 (thanks to rhk for spotting it)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 08:22:39 +00:00
nico
bcd27e686e
package/base-files: use a single $(CP) instead of two to copy shared library files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 06:01:45 +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