summaryrefslogtreecommitdiff
path: root/scripts/init/vyos-router
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2019-05-30 14:02:44 -0500
committerJohn Estabrook <jestabro@sentrium.io>2019-05-30 14:02:44 -0500
commite4fe8143d9a9d86eafe04fed3cd788659b46f465 (patch)
tree7d912fa34cc49f5bbdaac3c9a6f1cf7435c678c6 /scripts/init/vyos-router
parentec0d803a673a85e1159305fcab335679b9fad720 (diff)
downloadvyatta-cfg-e4fe8143d9a9d86eafe04fed3cd788659b46f465.tar.gz
vyatta-cfg-e4fe8143d9a9d86eafe04fed3cd788659b46f465.zip
T1334: Migration script runner rewrite
Use vyos-1x migration script runner.
Diffstat (limited to 'scripts/init/vyos-router')
-rwxr-xr-xscripts/init/vyos-router4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router
index a211795..e9a8cae 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -83,9 +83,9 @@ init_bootfile () {
# if necessary, migrate initial config
migrate_bootfile ()
{
- if [ -x $vyatta_sbindir/vyatta_config_migrate.pl ]; then
+ if [ -x $vyos_libexec_dir/run-config-migration.py ]; then
log_progress_msg migrate
- sg ${GROUP} -c "$vyatta_sbindir/vyatta_config_migrate.pl $BOOTFILE"
+ sg ${GROUP} -c "$vyos_libexec_dir/run-config-migration.py $BOOTFILE"
fi
}