Skip to contentSkip to conversation

add /check for dmraim module

PATCH New Seewer Philippe 1 participant 1 message Mar 7, 2009

lore
Share & tools
lore
#0 lore raw

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
new file mode 100755
index 0000000..632c28b
@@ -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
\ No newline at end of file

--
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