aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/wifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-27 23:09:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-27 23:09:57 +0000
commit4215478ffe8ca502e26ee1b5a13bce20e271bf49 (patch)
tree8afc6dded2da1f9908afb7537a8ec9d4203f5633 /package/base-files/files/sbin/wifi
parente74ae58645b63b23d6ba58e68a695f4c790f0b1c (diff)
downloadupstream-4215478ffe8ca502e26ee1b5a13bce20e271bf49.tar.gz
upstream-4215478ffe8ca502e26ee1b5a13bce20e271bf49.tar.bz2
upstream-4215478ffe8ca502e26ee1b5a13bce20e271bf49.zip
move config_get_bool from /sbin/wifi to /etc/functions.sh
SVN-Revision: 6407
Diffstat (limited to 'package/base-files/files/sbin/wifi')
-rwxr-xr-xpackage/base-files/files/sbin/wifi11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index 272aa16fa3..2b4f1ce1c2 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -78,17 +78,6 @@ start_net() {(
setup_interface "$1" "$2"
)}
-config_get_bool() {
- local _tmp
- config_get "$1" "$2" "$3"
- eval "_tmp=\$$1"
- case "$_tmp" in
- 1|on|enabled) eval "$1=1";;
- 0|off|disabled) eval "$1=0";;
- *) eval "$1=${4:-0}";;
- esac
-}
-
config_cb() {
config_get TYPE "$CONFIG_SECTION" TYPE
case "$TYPE" in