summaryrefslogtreecommitdiffstats
path: root/root/sbin/wifi
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-07-13 02:51:21 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-07-13 02:51:21 +0000
commitedde8d40b677a02d729e299aa0f986598deb287d (patch)
treebcfb429eef178d9b65350ee67d1476bb08645656 /root/sbin/wifi
parent5e235f254fb2d618414a9bbe86789815b7d1df2d (diff)
split ifup/ifdown/wifi into standalone scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@94 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'root/sbin/wifi')
-rwxr-xr-xroot/sbin/wifi4
1 files changed, 4 insertions, 0 deletions
diff --git a/root/sbin/wifi b/root/sbin/wifi
new file mode 100755
index 000000000..b63912ddf
--- /dev/null
+++ b/root/sbin/wifi
@@ -0,0 +1,4 @@
+#!/bin/ash
+ debug "### wifi $1 ###"
+ if=$(awk 'sub(":","") {print $1}' /proc/net/wireless)
+ $DEBUG wlconf $if $1