summaryrefslogtreecommitdiff
path: root/src/helpers/vyos-boot-config-loader.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-12-08 13:29:46 -0600
committerJohn Estabrook <jestabro@vyos.io>2021-12-08 13:30:38 -0600
commite6b1c1f572068535ea99ee39a2d66bd6bf7043d5 (patch)
tree13730bb126a5ead223620b879cfd354509001ecf /src/helpers/vyos-boot-config-loader.py
parentbcfe967f607a83192d75c01e7f414655891eec60 (diff)
downloadvyos-1x-e6b1c1f572068535ea99ee39a2d66bd6bf7043d5.tar.gz
vyos-1x-e6b1c1f572068535ea99ee39a2d66bd6bf7043d5.zip
vyos.util: T4061: add function to check for completion of boot config
Diffstat (limited to 'src/helpers/vyos-boot-config-loader.py')
-rwxr-xr-xsrc/helpers/vyos-boot-config-loader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/vyos-boot-config-loader.py b/src/helpers/vyos-boot-config-loader.py
index c5bf22f10..b9cc87bfa 100755
--- a/src/helpers/vyos-boot-config-loader.py
+++ b/src/helpers/vyos-boot-config-loader.py
@@ -23,12 +23,12 @@ import grp
import traceback
from datetime import datetime
-from vyos.defaults import directories
+from vyos.defaults import directories, config_status
from vyos.configsession import ConfigSession, ConfigSessionError
from vyos.configtree import ConfigTree
from vyos.util import cmd
-STATUS_FILE = '/tmp/vyos-config-status'
+STATUS_FILE = config_status
TRACE_FILE = '/tmp/boot-config-trace'
CFG_GROUP = 'vyattacfg'