summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-17 21:49:06 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-23 20:44:02 +0100
commitfc65bb35be37878d4cc4cbb5d330f56febaaa409 (patch)
tree8d4afaabcca30569d36bebccf2a54e2902c8e08f /op-mode-definitions
parent65d7bf3875b7c463c8d0632b879098128c30daa9 (diff)
downloadvyos-1x-fc65bb35be37878d4cc4cbb5d330f56febaaa409.tar.gz
vyos-1x-fc65bb35be37878d4cc4cbb5d330f56febaaa409.zip
wireless: T1627: initial rewrite of show-wireless.pl in Python
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/wireless.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/wireless.xml b/op-mode-definitions/wireless.xml
index 992d53ba4..c3c6dee59 100644
--- a/op-mode-definitions/wireless.xml
+++ b/op-mode-definitions/wireless.xml
@@ -57,7 +57,7 @@
<properties>
<help>Show wireless interface configuration</help>
</properties>
- <command>echo TBD.</command>
+ <command>${vyos_op_scripts_dir}/show_wireless.py --brief</command>
</leafNode>
</children>
</node>
@@ -80,7 +80,7 @@
<properties>
<help>Show summary of the specified wireless interface information</help>
</properties>
- <command>echo TBD.</command>
+ <command>sudo ${vyos_op_scripts_dir}/show_wireless.py --scan "$4"</command>
<children>
<leafNode name="detail">
<properties>
@@ -94,7 +94,7 @@
<properties>
<help>Show specified wireless interface information</help>
</properties>
- <command>echo "TBD."</command>
+ <command>${vyos_op_scripts_dir}/show_wireless.py --stations "$4"</command>
</leafNode>
<tagNode name="vif">
<properties>