summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRick Balocca <rbalocca@vyatta.com>2008-11-05 09:52:04 -0800
committerRick Balocca <rbalocca@vyatta.com>2008-11-05 09:52:04 -0800
commitc426a6241bf4e3d01a53c2c8d99d9d52a15dd9d5 (patch)
tree5e061c7541cf822c0914de161a089e983c3ce456 /templates
parent098d792ab2680aefd2d3a3d0a680b39e5a2787ba (diff)
parent47a84e37613d6441c3460fd4919b59b420d4f1ec (diff)
downloadvyatta-op-c426a6241bf4e3d01a53c2c8d99d9d52a15dd9d5.tar.gz
vyatta-op-c426a6241bf4e3d01a53c2c8d99d9d52a15dd9d5.zip
Merge branch 'islavista' into jenner
Diffstat (limited to 'templates')
-rw-r--r--templates/configure/node.def6
-rw-r--r--templates/show/history/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/statistics/node.def2
3 files changed, 7 insertions, 3 deletions
diff --git a/templates/configure/node.def b/templates/configure/node.def
index 5d30510..5b349e8 100644
--- a/templates/configure/node.def
+++ b/templates/configure/node.def
@@ -1,3 +1,7 @@
help: Enter configure mode
-run: export _OFR_CONFIGURE=ok; newgrp vyattacfg; unset _OFR_CONFIGURE
+run: history -w
+ export _OFR_CONFIGURE=ok
+ newgrp vyattacfg
+ unset _OFR_CONFIGURE
_vyatta_op_do_key_bindings
+ history -r
diff --git a/templates/show/history/node.def b/templates/show/history/node.def
index 682122a..787ebd9 100644
--- a/templates/show/history/node.def
+++ b/templates/show/history/node.def
@@ -1,2 +1,2 @@
help: show command history
-run: HISTTIMEFORMAT='%FT%T%z ' history
+run: history
diff --git a/templates/show/interfaces/ethernet/node.tag/statistics/node.def b/templates/show/interfaces/ethernet/node.tag/statistics/node.def
index 5414715..6dae4f3 100644
--- a/templates/show/interfaces/ethernet/node.tag/statistics/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/statistics/node.def
@@ -1,3 +1,3 @@
help: Show physical device statistics for specified ethernet interface
allowed: ""
-run: /usr/sbin/ethtool -S "$4"
+run: sudo /usr/sbin/ethtool -S "$4"