From 6b2e45c073eeef62bbb5905e1bff98e20199b6b0 Mon Sep 17 00:00:00 2001
From: Christian Breunig <christian@breunig.cc>
Date: Fri, 5 Jul 2024 09:01:49 +0200
Subject: op-mode: T6537: remove unused cmd imported from vyos.utils.process

Commit dc60fe99350 ("op-mode: T6537: include hostname in the reboot/shutdown
warning message") added a more local import of vyos.utils.process.cmd() that
made the fglobal import obsolete and trigger a linter warning.

$ make unused-imports

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
---
 src/op_mode/powerctrl.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/op_mode/powerctrl.py b/src/op_mode/powerctrl.py
index fb6b54776..c32a2be7d 100755
--- a/src/op_mode/powerctrl.py
+++ b/src/op_mode/powerctrl.py
@@ -24,7 +24,6 @@ from time import time
 
 from vyos.utils.io import ask_yes_no
 from vyos.utils.process import call
-from vyos.utils.process import cmd
 from vyos.utils.process import run
 from vyos.utils.process import STDOUT
 
-- 
cgit v1.2.3