From bea24e830d53460703c9bdefd54476080b011450 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 13 Apr 2011 15:32:55 -0700 Subject: fix for bug 6996 * add "ignore-edit" option for config output. * ignore "edit level" when saving config file. --- scripts/vyatta-save-config.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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'; } -- cgit v1.2.3