[web] docs: update uci's wireless reconfiguration text

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 24 12:39:08 PDT 2016


blogic pushed a commit to web.git, branch master:
https://git.lede-project.org/08de183485c8412ceb77e0260d131d0b9af580ac

commit 08de183485c8412ceb77e0260d131d0b9af580ac
Author: Christian Lamparter <chunkeey at googlemail.com>
AuthorDate: Mon Oct 17 15:59:16 2016 +0200

    docs: update uci's wireless reconfiguration text
    
    "wifi detect" has been replaced by "wifi config". It no longer
    needs the file redirection to /etc/config/wireless.
    
    It also removes the half sentence about rebuilding the
    configuration when installing a new device. I think it is
    bad advice to nuke the entire existing configuration just
    to add a new wifi device.
    
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 docs/uci_wireless.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/uci_wireless.txt b/docs/uci_wireless.txt
index d43df0e..1fada2e 100644
--- a/docs/uci_wireless.txt
+++ b/docs/uci_wireless.txt
@@ -333,11 +333,11 @@ Wireless interfaces are brought up and down with the 'wifi' command. To (re)star
 
 == Regenerate Configuration
 
-To rebuild the configuration file, e.g. after installing a new wireless driver, remove the existing wireless configuration (if any) and use the 'wifi detect' command with stdout redirected to the '/etc/config/wireless' file:
+To rebuild the configuration file, remove the existing wireless configuration (if any) and use the 'wifi config' command:
 
 ----
 rm -f /etc/config/wireless
-wifi detect > /etc/config/wireless
+wifi config
 ----
 
 == 40 MHz channel width (up to 300 Mbps) for 802.11n devices ONLY



More information about the lede-commits mailing list