summaryrefslogtreecommitdiffstats
path: root/target/default/target_skeleton/sbin/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'target/default/target_skeleton/sbin/wifi')
-rwxr-xr-xtarget/default/target_skeleton/sbin/wifi5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/default/target_skeleton/sbin/wifi b/target/default/target_skeleton/sbin/wifi
new file mode 100755
index 000000000..6360fff04
--- /dev/null
+++ b/target/default/target_skeleton/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