summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-12 21:16:11 +0200
committerChristian Breunig <christian@breunig.cc>2023-07-12 21:16:56 +0200
commit4e2a087cc7e91a510dd590f7cc761e36ac8f77f8 (patch)
treefd7534645f6950a8fcaabbce4c1437f6432cf3ff /src/op_mode
parent6e621e42f463d8643b504916a1cc7c967f5bd6f1 (diff)
downloadvyos-1x-4e2a087cc7e91a510dd590f7cc761e36ac8f77f8.tar.gz
vyos-1x-4e2a087cc7e91a510dd590f7cc761e36ac8f77f8.zip
T5195: move boot_* helpers to vyos.utils.boot
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/powerctrl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/powerctrl.py b/src/op_mode/powerctrl.py
index dfacd45c2..2bb2e717b 100755
--- a/src/op_mode/powerctrl.py
+++ b/src/op_mode/powerctrl.py
@@ -104,7 +104,7 @@ def cancel_shutdown():
def check_unsaved_config():
from vyos.config_mgmt import unsaved_commits
- from vyos.util import boot_configuration_success
+ from vyos.utils.boot import boot_configuration_success
if unsaved_commits() and boot_configuration_success():
print("Warning: there are unsaved configuration changes!")