[source] base-files: Add wifi config to wifi command usage

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 13 01:24:37 PST 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/f6d3ea8c8a28bb51668367876df6ad93a5988827

commit f6d3ea8c8a28bb51668367876df6ad93a5988827
Author: David Pinilla Caparrós <dpinitux at gmail.com>
AuthorDate: Mon Jan 30 15:15:08 2017 +0100

    base-files: Add wifi config to wifi command usage
    
    Since commit 5f8f8a366136a07df661e31decce2458357c167a wifi detect does
    not longer work and wifi config it's used to configure not yet
    configured wireless devices.
    
    This commit changes command usage to reflect that change.
    
    Signed-off-by: David Pinilla Caparrós <dpinitux at gmail.com>
---
 package/base-files/files/sbin/wifi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index f2845c8..c65cb5e 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -6,8 +6,8 @@
 
 usage() {
 	cat <<EOF
-Usage: $0 [down|detect|reload|status]
-enables (default), disables or detects a wifi configuration.
+Usage: $0 [config|down|reload|status]
+enables (default), disables or configures devices not yet configured.
 EOF
 	exit 1
 }



More information about the lede-commits mailing list