diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2011-04-13 15:32:55 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2011-04-13 15:32:55 -0700 |
commit | bea24e830d53460703c9bdefd54476080b011450 (patch) | |
tree | a940758dd93c205670d54898ed16a09e33a61899 /scripts/vyatta-save-config.pl | |
parent | 7659d4706b5c167f826d7ab4ecb2ef4a7eb74d7a (diff) | |
download | vyatta-cfg-bea24e830d53460703c9bdefd54476080b011450.tar.gz vyatta-cfg-bea24e830d53460703c9bdefd54476080b011450.zip |
fix for bug 6996
* add "ignore-edit" option for config output.
* ignore "edit level" when saving config file.
Diffstat (limited to 'scripts/vyatta-save-config.pl')
-rwxr-xr-x | scripts/vyatta-save-config.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/vyatta-save-config.pl b/scripts/vyatta-save-config.pl index a9b5779..4af5d97 100755 --- a/scripts/vyatta-save-config.pl +++ b/scripts/vyatta-save-config.pl @@ -100,7 +100,8 @@ if ($mode eq 'local') { } select $save; -my @show_cmd = ('cli-shell-api', 'showCfg', '--show-active-only'); +my @show_cmd = ('cli-shell-api', 'showConfig', '--show-active-only', + '--show-ignore-edit'); if ($show_default) { push @show_cmd, '--show-show-defaults'; } |