summaryrefslogtreecommitdiff
path: root/python/vyos/utils/kernel.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/utils/kernel.py')
-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