From bb7faca67e77d8c5bc13e3a28b2c7378a16da512 Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 12 Jan 2022 22:41:25 +0300 Subject: [PATCH] blockcheck: kldstat -m --- blockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockcheck.sh b/blockcheck.sh index a6e5cef..52f6db6 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -160,7 +160,7 @@ check_system() freebsd_module_loaded() { # $1 - module name - kldstat -qn "${1}.ko" + kldstat -qm "${1}" } freebsd_modules_loaded() {