summaryrefslogtreecommitdiff
path: root/python/vyos/utils
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-07-15 19:51:22 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-07-15 21:34:10 -0500
commitf8797df83d9ce127346ee9f0fae43a031559c790 (patch)
tree118c7529433f81e09901e75204051a9f4719fa72 /python/vyos/utils
parentea3cacea57592154a93da753e915a3d39761773d (diff)
downloadvyos-1x-f8797df83d9ce127346ee9f0fae43a031559c790.tar.gz
vyos-1x-f8797df83d9ce127346ee9f0fae43a031559c790.zip
T5195: add/fix missing imports
Diffstat (limited to 'python/vyos/utils')
-rw-r--r--python/vyos/utils/kernel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/vyos/utils/kernel.py b/python/vyos/utils/kernel.py
index d950b8e75..0eb113174 100644
--- a/python/vyos/utils/kernel.py
+++ b/python/vyos/utils/kernel.py
@@ -13,6 +13,8 @@
# You should have received a copy of the GNU Lesser General Public
# License along with this library. If not, see <http://www.gnu.org/licenses/>.
+import os
+
def check_kmod(k_mod):
""" Common utility function to load required kernel modules on demand """
from vyos import ConfigError