summaryrefslogtreecommitdiff
path: root/templates/show/interfaces
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-28 11:36:07 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-28 11:36:07 -0800
commit7527117842918d1288636b76bd77663e05664575 (patch)
treef214bf2ad87b6df09c8204db7576e9c95cee6a53 /templates/show/interfaces
parentb31d2507b9ef7178f6acd3d5f3e00c881ff6944d (diff)
downloadvyatta-op-7527117842918d1288636b76bd77663e05664575.tar.gz
vyatta-op-7527117842918d1288636b76bd77663e05664575.zip
add quoting for inline scripts in templates
Diffstat (limited to 'templates/show/interfaces')
-rw-r--r--templates/show/interfaces/ethernet/node.tag/identify/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/physical/node.def2
2 files changed, 2 insertions, 2 deletions
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"