diff options
author | Michael Larson <slioch@slioch.vyatta.com> | 2010-05-05 16:50:44 -0700 |
---|---|---|
committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-05-05 16:50:44 -0700 |
commit | 0d020c8b938443ac8875bcfcff231dd1bf0d1d41 (patch) | |
tree | 1f82593a10110b9b2872992e3dcdfe5a19115e32 /lib/Vyatta/ConfigLoad.pm | |
parent | 0ffdc5e6d89f9677694a8eef916b07c089264753 (diff) | |
download | vyatta-cfg-0d020c8b938443ac8875bcfcff231dd1bf0d1d41.tar.gz vyatta-cfg-0d020c8b938443ac8875bcfcff231dd1bf0d1d41.zip |
boot loader support now added. various bug fixes and some small rework.
Diffstat (limited to 'lib/Vyatta/ConfigLoad.pm')
-rwxr-xr-x | lib/Vyatta/ConfigLoad.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Vyatta/ConfigLoad.pm b/lib/Vyatta/ConfigLoad.pm index 54befc6..28e932e 100755 --- a/lib/Vyatta/ConfigLoad.pm +++ b/lib/Vyatta/ConfigLoad.pm @@ -87,13 +87,16 @@ sub enumerate_branch { push @cur_path, $val; } if (defined $cur_node->{'disable'}) { - push @all_naked_nodes, [ '!', @cur_path ]; + push @all_naked_nodes, [ '!', @cur_path ]; + my @qpath = applySingleQuote(@cur_path); + unshift(@qpath,'!'); + push @all_nodes, [\@qpath, 0]; } else { push @all_naked_nodes, [ @cur_path ]; + my @qpath = applySingleQuote(@cur_path); + push @all_nodes, [\@qpath, 0]; } - my @qpath = applySingleQuote(@cur_path); - push @all_nodes, [\@qpath, 0]; } } |