From ebe7bdba8873f5d0abce9b9890493fddffc71470 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 5 Dec 2010 11:22:56 +0000 Subject: adds a --help option to /sbin/wifi Signed-off-by: Sebastian Philipp SVN-Revision: 24258 --- package/base-files/Makefile | 2 +- package/base-files/files/sbin/wifi | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 9ed6d9939b..cdf08e97c0 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files -PKG_RELEASE:=61 +PKG_RELEASE:=62 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_BUILD_DEPENDS:=opkg/host diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index bee6c28352..e2dd0a32d5 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -3,6 +3,14 @@ . /etc/functions.sh +usage() { + cat <