summaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-06-23 12:40:36 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-06-26 15:45:19 -0500
commit51865448599ec40283fffe4dc15729f88f389886 (patch)
treedbc1bb252d58acef71ac0a74f97aaca9d3eb346a /src/init
parent403f1d2f2159f5436bb7c71a3694647a870357b7 (diff)
downloadvyos-1x-51865448599ec40283fffe4dc15729f88f389886.tar.gz
vyos-1x-51865448599ec40283fffe4dc15729f88f389886.zip
migration: T6007: add util add_system_version to replace *_system_footer
Diffstat (limited to 'src/init')
-rwxr-xr-xsrc/init/vyos-router4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init/vyos-router b/src/init/vyos-router
index 59004fdc1..8825cc16a 100755
--- a/src/init/vyos-router
+++ b/src/init/vyos-router
@@ -134,14 +134,14 @@ init_bootfile () {
if [ ! -r $DEFAULT_BOOTFILE ]; then
if [ -f $vyos_data_dir/config.boot.default ]; then
cp $vyos_data_dir/config.boot.default $DEFAULT_BOOTFILE
- $vyos_libexec_dir/system-versions-foot.py >> $DEFAULT_BOOTFILE
+ $vyos_libexec_dir/add-system-version.py >> $DEFAULT_BOOTFILE
fi
fi
if [ ! -r $BOOTFILE ] ; then
if [ -f $DEFAULT_BOOTFILE ]; then
cp $DEFAULT_BOOTFILE $BOOTFILE
else
- $vyos_libexec_dir/system-versions-foot.py > $BOOTFILE
+ $vyos_libexec_dir/add-system-version.py > $BOOTFILE
fi
chgrp ${GROUP} $BOOTFILE
chmod 660 $BOOTFILE