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-09-11 12:01:37 -0500
commit70720e5f3d8616d66d93a4899b6d0a9aac6151f0 (patch)
tree791566e915e8215c07a97880909a4bb0d301edf6 /src/init
parent9ed150798a835d8ddf0845813e75132a4eea00d0 (diff)
downloadvyos-1x-70720e5f3d8616d66d93a4899b6d0a9aac6151f0.tar.gz
vyos-1x-70720e5f3d8616d66d93a4899b6d0a9aac6151f0.zip
migration: T6007: add util add_system_version to replace *_system_footer
(cherry picked from commit 51865448599ec40283fffe4dc15729f88f389886)
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