Commit 8723439e authored by Franco Fichtner's avatar Franco Fichtner

config: weave new migrations into convert_config(); closes #1156

(cherry picked from commit c78c9ced)
parent 1cd38fdc
......@@ -146,6 +146,14 @@ function convert_config($verbose = false)
write_config(sprintf('Upgraded config version level from %s to %s', $prev_version, $config['version']));
}
}
/* chain the new migration into this function call */
$mvc_migration = '/usr/local/opnsense/mvc/script/run_migrations.php';
if ($verbose) {
passthru($mvc_migration);
} else {
mwexecf($mvc_migraton);
}
}
/****f* config/write_config
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment