add /check for dmraim module
PATCH 1/1 add /check for dmraim module
With the /check infrastucture in place, dmraid is missing a check file.
Patch is built on top of Harald Hoyers merge tree
(git://git.surfsite.org/pub/git/dracut.git)
---
modules.d/90dmraid/check new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh +grep -q '^dm_mod' /proc/modules || exit 1 +awk '/^dm_mod/ {if ($3 > 0) exit 0; else exit 1;}' /proc/modules
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html