summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-07-14 19:39:03 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-07-14 19:39:03 -0500
commitfdac525b7596f1b18c201bdcd5923d3e76453ebd (patch)
treee045e128fe0846780af20b1f791e2a2db1107ad8 /scripts
parent5a58d5204307263b196349d791e5e5b4dd45f056 (diff)
downloadvyatta-cfg-fdac525b7596f1b18c201bdcd5923d3e76453ebd.tar.gz
vyatta-cfg-fdac525b7596f1b18c201bdcd5923d3e76453ebd.zip
Bugfix 7331: better fix for the bug
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-save-config.pl3
1 files changed, 0 insertions, 3 deletions
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;