summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/sources/openwrt/root/sbin/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/root/sbin/wifi')
-rwxr-xr-xobsolete-buildroot/sources/openwrt/root/sbin/wifi5
1 files changed, 5 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/root/sbin/wifi b/obsolete-buildroot/sources/openwrt/root/sbin/wifi
new file mode 100755
index 000000000..03ec66e42
--- /dev/null
+++ b/obsolete-buildroot/sources/openwrt/root/sbin/wifi
@@ -0,0 +1,5 @@
+#!/bin/ash
+ alias debug=${DEBUG:-:}
+ debug "### wifi $1 ###"
+ if=$(awk 'sub(":","") {print $1}' /proc/net/wireless)
+ $DEBUG wlconf $if $1