summaryrefslogtreecommitdiff
path: root/lib/Vyatta/ConfigLoad.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/ConfigLoad.pm')
-rwxr-xr-xlib/Vyatta/ConfigLoad.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/Vyatta/ConfigLoad.pm b/lib/Vyatta/ConfigLoad.pm
index 47a27ce..033aec0 100755
--- a/lib/Vyatta/ConfigLoad.pm
+++ b/lib/Vyatta/ConfigLoad.pm
@@ -102,14 +102,7 @@ sub enumerate_branch {
}
if (defined($cur_node->{'disable'})) {
- my $p = join("/",@cur_path[0..$#cur_path-1]);
- my $leaf = "$ENV{VYATTA_TEMP_CONFIG_DIR}/$p/node.val";
- if (-e $leaf) {
- push @disable_list, join(" ",@cur_path[0..$#cur_path-1]);
- }
- else {
- push @disable_list, join(" ",@cur_path);
- }
+ push @disable_list, join(" ",@cur_path);
}
if ($terminal) {