summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/vyatta-load-config.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/vyatta-load-config.pl b/scripts/vyatta-load-config.pl
index d011a65..be3c751 100755
--- a/scripts/vyatta-load-config.pl
+++ b/scripts/vyatta-load-config.pl
@@ -21,6 +21,9 @@ if (!($load_file =~ /^\//)) {
$load_file = "$bootpath/$load_file";
}
+# do config migration
+system("$sbindir/vyatta_config_migrate.pl $load_file");
+
print "Loading config file $load_file...\n";
my %cfg_hier = VyattaConfigLoad::loadConfigHierarchy($load_file);
if (scalar(keys %cfg_hier) == 0) {