From fdac525b7596f1b18c201bdcd5923d3e76453ebd Mon Sep 17 00:00:00 2001 From: John Southworth Date: Thu, 14 Jul 2011 19:39:03 -0500 Subject: Bugfix 7331: better fix for the bug --- scripts/vyatta-save-config.pl | 3 --- 1 file changed, 3 deletions(-) (limited to 'scripts') diff --git a/scripts/vyatta-save-config.pl b/scripts/vyatta-save-config.pl index 6dc833c..00f5854 100755 --- a/scripts/vyatta-save-config.pl +++ b/scripts/vyatta-save-config.pl @@ -107,9 +107,6 @@ my $show_cmd = 'cli-shell-api showConfig --show-active-only --show-ignore-edit'; if ($show_default) { $show_cmd .= ' --show-show-defaults'; } -# add a sed command to remove unwanted configuration comments. -$show_cmd .= "| sed -e \'/--- CONFIGURATION COMMENTED OUT DURING MIGRATION BELOW ---/"; -$show_cmd .= ",/--- CONFIGURATION COMMENTED OUT DURING MIGRATION ABOVE ---/d\'"; open(my $show_fd, '-|', $show_cmd) or die 'Cannot execute config output'; while (<$show_fd>) { print; -- cgit v1.2.3