1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-02 20:34:05 +02:00
openwrt-xburst/package/base-files/files/sbin
jow 4e88a660b0 [package] base-files: attempt bring up related wifi devices when calling ifup
If a user invoked /sbin/ifup to bring up an interface, the setup used to fail
in case of wireless networks tied to a non-bridged interface definition.
Likewise, the bringup of "lan" in the default configuration will reinitialize
the bridge but do not re-join the wireless network to it, requiring an extra
call to /sbin/wifi (which might not be possible anymore due to a severed link
if connected wirelessly).

The changeset modifies the "ifup" command to search for related wireless
devices and call "wifi up" on them if applicable. This way the commands for
wireless and non-wireless interfaces are unified from a cli point of view.

The "ifup -a" case has not been changed to keep the logic of the 
/etc/init.d/network boot sequence. This might be changed later.

Solves #9763.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-22 00:21:20 +00:00
..
firstboot change from /jffs to /overlay, patch from Daniel Dickinson 2010-03-21 17:16:50 +00:00
hotplug-call [package] base-files: Use hotplug2 to download firmware 2010-04-03 18:21:02 +00:00
ifdown [package] base-files: attempt bring up related wifi devices when calling ifup 2011-07-22 00:21:20 +00:00
ifup [package] base-files: attempt bring up related wifi devices when calling ifup 2011-07-22 00:21:20 +00:00
led.sh make option name optional 2008-09-13 00:08:39 +00:00
mount_root fix jffs2 and mini_fo mount in failsafe (patch from #7134) 2010-04-13 14:24:58 +00:00
sysupgrade [package] base-files: add -h and --help options to sysupgrade (#9728) 2011-07-17 09:27:14 +00:00
wifi [package] adds a --help option to /sbin/wifi 2010-12-05 11:22:56 +00:00