X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/533670025d4813a8454e643b003be1e0294432dc..8ab2244c0d7a13a8349f9c5fc6aabe7f87c04497:/package/base-files/files/sbin/wifi?ds=inline diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 272aa16fa..2b4f1ce1c 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