commit e095083e68666a81774be7e84f94a68f61a50b6d
parent ef82bf23abf294ede5c4a7815f628f38e4f1f0f7
Author: Alex Balgavy <alexander.balgavy@spaceapplications.com>
Date: Mon, 16 Jun 2025 21:20:24 +0200
lf: preview kernel modules
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lf/preview b/lf/preview
@@ -55,6 +55,7 @@ case "$(printf "%s" "$1" | tr '[:upper:]' '[:lower:]')" in
*) ;;
esac
;;
+ *.ko) modinfo "$1";;
*)
case $(file --mime-type "$1" -bL) in
application/x-executable) readelf -h "$1" ;;