diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-03-03 13:00:23 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-03-03 13:00:23 -0800 |
commit | 896e4ffb90951fbfac777683f1d7fdc8aa2c7b22 (patch) | |
tree | a4930440be4f47a86a8516bc2e6d6e0dbf87f5ca /templates/show/interfaces | |
parent | de1f1f3c30a6adfdbcf7b325550d17e61e4ff623 (diff) | |
download | vyatta-op-896e4ffb90951fbfac777683f1d7fdc8aa2c7b22.tar.gz vyatta-op-896e4ffb90951fbfac777683f1d7fdc8aa2c7b22.zip |
Add quotes around user input
Diffstat (limited to 'templates/show/interfaces')
10 files changed, 10 insertions, 10 deletions
diff --git a/templates/show/interfaces/bridge/node.tag/brief/node.def b/templates/show/interfaces/bridge/node.tag/brief/node.def index b277607..d3d213d 100644 --- a/templates/show/interfaces/bridge/node.tag/brief/node.def +++ b/templates/show/interfaces/bridge/node.tag/brief/node.def @@ -1,2 +1,2 @@ help: Show summary of a given bridge interface information -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 --action=show-brief +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief diff --git a/templates/show/interfaces/bridge/node.tag/node.def b/templates/show/interfaces/bridge/node.tag/node.def index 9248741..41aa6b2 100644 --- a/templates/show/interfaces/bridge/node.tag/node.def +++ b/templates/show/interfaces/bridge/node.tag/node.def @@ -2,4 +2,4 @@ help: Show given bridge interface information allowed: local -a array ; array=( /sys/class/net/br* ) ; echo -n ${array[@]##*/} -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" diff --git a/templates/show/interfaces/ethernet/node.tag/brief/node.def b/templates/show/interfaces/ethernet/node.tag/brief/node.def index 52b3870..3340d9e 100644 --- a/templates/show/interfaces/ethernet/node.tag/brief/node.def +++ b/templates/show/interfaces/ethernet/node.tag/brief/node.def @@ -1,2 +1,2 @@ help: Show given ethernet interface information -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 --action=show-brief +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief diff --git a/templates/show/interfaces/ethernet/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/node.def index 3dab472..b41cf8b 100644 --- a/templates/show/interfaces/ethernet/node.tag/node.def +++ b/templates/show/interfaces/ethernet/node.tag/node.def @@ -6,4 +6,4 @@ allowed: for dev in /sys/class/net/*; fi fi done -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def index 956be62..1eaa07c 100644 --- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def +++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def @@ -1,2 +1,2 @@ help: Show given virtual network interface information -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4.$6 --action=show-brief +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" --action=show-brief diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def index 813637b..13f196f 100644 --- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def +++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def @@ -2,4 +2,4 @@ help: Show given virtual network interface information allowed: local -a array ; array=( /sys/class/net/${COMP_WORDS[3]}.* ) ; echo -n ${array[@]##*.} -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4.$6 +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" diff --git a/templates/show/interfaces/loopback/node.tag/brief/node.def b/templates/show/interfaces/loopback/node.tag/brief/node.def index ca5cc37..85970d3 100644 --- a/templates/show/interfaces/loopback/node.tag/brief/node.def +++ b/templates/show/interfaces/loopback/node.tag/brief/node.def @@ -1,2 +1,2 @@ help: Show summary of given loopback interface information -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 --action=show-brief +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief diff --git a/templates/show/interfaces/loopback/node.tag/node.def b/templates/show/interfaces/loopback/node.tag/node.def index ff6eec5..84f3624 100644 --- a/templates/show/interfaces/loopback/node.tag/node.def +++ b/templates/show/interfaces/loopback/node.tag/node.def @@ -2,4 +2,4 @@ help: Show given loopback interface information allowed: local -a array ; array=( /sys/class/net/lo* ) ; echo -n ${array[@]##*/} -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" diff --git a/templates/show/interfaces/tunnel/node.tag/brief/node.def b/templates/show/interfaces/tunnel/node.tag/brief/node.def index cf2b8da..81e2c24 100644 --- a/templates/show/interfaces/tunnel/node.tag/brief/node.def +++ b/templates/show/interfaces/tunnel/node.tag/brief/node.def @@ -1,2 +1,2 @@ help: Show given tunnel interface information -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 --action=show-brief +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief diff --git a/templates/show/interfaces/tunnel/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/node.def index 12630bd..c39ad7e 100644 --- a/templates/show/interfaces/tunnel/node.tag/node.def +++ b/templates/show/interfaces/tunnel/node.tag/node.def @@ -2,4 +2,4 @@ help: Show given tunnel interface information allowed: local -a array ; array=( /sys/class/net/tun* ) ; echo -n ${array[@]##*/} -run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" |