diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-12 21:16:11 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-07-12 21:16:56 +0200 |
commit | 4e2a087cc7e91a510dd590f7cc761e36ac8f77f8 (patch) | |
tree | fd7534645f6950a8fcaabbce4c1437f6432cf3ff /src/op_mode | |
parent | 6e621e42f463d8643b504916a1cc7c967f5bd6f1 (diff) | |
download | vyos-1x-4e2a087cc7e91a510dd590f7cc761e36ac8f77f8.tar.gz vyos-1x-4e2a087cc7e91a510dd590f7cc761e36ac8f77f8.zip |
T5195: move boot_* helpers to vyos.utils.boot
Diffstat (limited to 'src/op_mode')
-rwxr-xr-x | src/op_mode/powerctrl.py | 2 |
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!") |