diff options
Diffstat (limited to 'templates')
7 files changed, 7 insertions, 7 deletions
diff --git a/templates/clear/arp/address/node.tag/node.def b/templates/clear/arp/address/node.tag/node.def index 1cfd2a3..3813b29 100644 --- a/templates/clear/arp/address/node.tag/node.def +++ b/templates/clear/arp/address/node.tag/node.def @@ -1,3 +1,3 @@ help: Clear ARP cache for address allowed: echo -n '<ip_address>' -run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush to $4 +run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush to "$4" diff --git a/templates/clear/arp/interface/node.tag/node.def b/templates/clear/arp/interface/node.tag/node.def index eb0ec26..ca17543 100644 --- a/templates/clear/arp/interface/node.tag/node.def +++ b/templates/clear/arp/interface/node.tag/node.def @@ -2,4 +2,4 @@ help: Clear ARP cache for interface allowed: local -a array ; array=( /sys/class/net/{eth,vmnet}* ) ; echo -n ${array[@]##*/} -run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush dev $4 +run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush dev "$4" diff --git a/templates/clear/ip/route/cache/node.tag/node.def b/templates/clear/ip/route/cache/node.tag/node.def index 37fc458..403e1f9 100644 --- a/templates/clear/ip/route/cache/node.tag/node.def +++ b/templates/clear/ip/route/cache/node.tag/node.def @@ -1,3 +1,3 @@ help: Flush the kernel route cache for a given route allowed: echo -n '<network>' -run: sudo ${vyatta_bindir}/sudo-users/ip route flush cache $5 +run: sudo ${vyatta_bindir}/sudo-users/ip route flush cache "$5" diff --git a/templates/set/date/node.tag/node.def b/templates/set/date/node.tag/node.def index 5c54cac..c593997 100644 --- a/templates/set/date/node.tag/node.def +++ b/templates/set/date/node.tag/node.def @@ -1,3 +1,3 @@ help: Set system date and time allowed: echo -n '<MMDDhhmm>' '<MMDDhhmmYY>' '<MMDDhhmmCCYY>' '<MMDDhhmmCCYY.ss>' -run: sudo /bin/date $3 +run: sudo /bin/date "$3" diff --git a/templates/show/interfaces/ethernet/node.tag/identify/node.def b/templates/show/interfaces/ethernet/node.tag/identify/node.def index c0082e1..d94172f 100644 --- a/templates/show/interfaces/ethernet/node.tag/identify/node.def +++ b/templates/show/interfaces/ethernet/node.tag/identify/node.def @@ -1,2 +1,2 @@ help: Visually identify the specified Ethernet interface -run: sudo ${vyatta_bindir}/sudo-users/vyatta-identify-interface.pl $4 +run: sudo ${vyatta_bindir}/sudo-users/vyatta-identify-interface.pl "$4" diff --git a/templates/show/interfaces/ethernet/node.tag/physical/node.def b/templates/show/interfaces/ethernet/node.tag/physical/node.def index 98f0170..389378b 100644 --- a/templates/show/interfaces/ethernet/node.tag/physical/node.def +++ b/templates/show/interfaces/ethernet/node.tag/physical/node.def @@ -1,3 +1,3 @@ help: Show physical device information of given ethernet interface allowed: "" -run: sudo ${vyatta_bindir}/sudo-users/ethtool $4; sudo ${vyatta_bindir}/sudo-users/ethtool -i $4 +run: sudo ${vyatta_bindir}/sudo-users/ethtool "$4"; sudo ${vyatta_bindir}/sudo-users/ethtool -i "$4" diff --git a/templates/show/log/file/node.tag/node.def b/templates/show/log/file/node.tag/node.def index 65700df..317582a 100644 --- a/templates/show/log/file/node.tag/node.def +++ b/templates/show/log/file/node.tag/node.def @@ -2,4 +2,4 @@ help: Show contents of user-defined log file allowed: local -a array ; array=( /var/log/user/* ) ; echo -n ${array[@]##*/} -run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-log-file $4 +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-log-file "$4" |