diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-30 15:16:39 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-30 15:16:39 -0700 |
commit | b9dfc424e1a5b6041df66cb63aa0d842e4b8a582 (patch) | |
tree | b6ed036d3d695344afcc3906bfa11397433d017e /templates/configure | |
parent | 78e41fb517a63c4a9cc225975e4714f84918149d (diff) | |
download | vyatta-op-b9dfc424e1a5b6041df66cb63aa0d842e4b8a582.tar.gz vyatta-op-b9dfc424e1a5b6041df66cb63aa0d842e4b8a582.zip |
Save/restore command history in configure
Need to save/restore command history when going into configure mode.
Diffstat (limited to 'templates/configure')
-rw-r--r-- | templates/configure/node.def | 6 |
1 files changed, 5 insertions, 1 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 |