diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-02-26 18:32:30 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-02-26 18:32:30 -0800 |
commit | 543600c241dc59f8a6d7a52ca8f0115c552a3757 (patch) | |
tree | 3a9757e14c7d6e1ae48dcbb893d3cb87718e5715 /templates/clear | |
parent | 93fe2569aedb2b60604b9ef77edd40aa2af17f93 (diff) | |
download | vyatta-op-543600c241dc59f8a6d7a52ca8f0115c552a3757.tar.gz vyatta-op-543600c241dc59f8a6d7a52ca8f0115c552a3757.zip |
Add quotes to user entered parameters
Diffstat (limited to 'templates/clear')
8 files changed, 8 insertions, 8 deletions
diff --git a/templates/clear/interfaces/bridge/counters/node.def b/templates/clear/interfaces/bridge/counters/node.def index 1a93d5b..226394d 100644 --- a/templates/clear/interfaces/bridge/counters/node.def +++ b/templates/clear/interfaces/bridge/counters/node.def @@ -1,2 +1,2 @@ help: Clear all bridge interface counters -run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type=$3 +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3" diff --git a/templates/clear/interfaces/bridge/node.tag/counters/node.def b/templates/clear/interfaces/bridge/node.tag/counters/node.def index 086f966..ba3199b 100644 --- a/templates/clear/interfaces/bridge/node.tag/counters/node.def +++ b/templates/clear/interfaces/bridge/node.tag/counters/node.def @@ -1,2 +1,2 @@ help: Clear interface counters for a given interface -run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf=$4 +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4" diff --git a/templates/clear/interfaces/ethernet/counters/node.def b/templates/clear/interfaces/ethernet/counters/node.def index e7a5d6a..85a02d5 100644 --- a/templates/clear/interfaces/ethernet/counters/node.def +++ b/templates/clear/interfaces/ethernet/counters/node.def @@ -1,2 +1,2 @@ help: Clear all Ethernet interface counters -run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type=$3 +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3" diff --git a/templates/clear/interfaces/ethernet/node.tag/counters/node.def b/templates/clear/interfaces/ethernet/node.tag/counters/node.def index 086f966..ba3199b 100644 --- a/templates/clear/interfaces/ethernet/node.tag/counters/node.def +++ b/templates/clear/interfaces/ethernet/node.tag/counters/node.def @@ -1,2 +1,2 @@ help: Clear interface counters for a given interface -run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf=$4 +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4" diff --git a/templates/clear/interfaces/loopback/counters/node.def b/templates/clear/interfaces/loopback/counters/node.def index 37761b6..eefdac4 100644 --- a/templates/clear/interfaces/loopback/counters/node.def +++ b/templates/clear/interfaces/loopback/counters/node.def @@ -1,2 +1,2 @@ help: Clear all loopback interface counters -run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type=$3 +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3" diff --git a/templates/clear/interfaces/loopback/node.tag/counters/node.def b/templates/clear/interfaces/loopback/node.tag/counters/node.def index 086f966..ba3199b 100644 --- a/templates/clear/interfaces/loopback/node.tag/counters/node.def +++ b/templates/clear/interfaces/loopback/node.tag/counters/node.def @@ -1,2 +1,2 @@ help: Clear interface counters for a given interface -run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf=$4 +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4" diff --git a/templates/clear/interfaces/tunnel/counters/node.def b/templates/clear/interfaces/tunnel/counters/node.def index 8816a99..7ef46d2 100644 --- a/templates/clear/interfaces/tunnel/counters/node.def +++ b/templates/clear/interfaces/tunnel/counters/node.def @@ -1,2 +1,2 @@ help: Clear all tunnel interface counters -run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type=$3 +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3" diff --git a/templates/clear/interfaces/tunnel/node.tag/counters/node.def b/templates/clear/interfaces/tunnel/node.tag/counters/node.def index 086f966..ba3199b 100644 --- a/templates/clear/interfaces/tunnel/node.tag/counters/node.def +++ b/templates/clear/interfaces/tunnel/node.tag/counters/node.def @@ -1,2 +1,2 @@ help: Clear interface counters for a given interface -run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf=$4 +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4" |