From b9dfc424e1a5b6041df66cb63aa0d842e4b8a582 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 30 Oct 2008 15:16:39 -0700 Subject: Save/restore command history in configure Need to save/restore command history when going into configure mode. --- templates/show/history/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/show') 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 -- cgit v1.2.3 From 47a84e37613d6441c3460fd4919b59b420d4f1ec Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 30 Oct 2008 16:05:53 -0700 Subject: need sudo before ethtool -S Bugfix 3832 --- templates/show/interfaces/ethernet/node.tag/statistics/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/show') 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" -- cgit v1.2.3