From: Harald Hoyer Date: Wed, 10 Nov 2010 15:38:40 +0000 (+0100) Subject: busybox/check: disable module by default and check for busybox binary X-Git-Tag: 008~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd7ee4913dc0ff4a2b27f6c168e26c5e8445e4eb;p=platform%2Fupstream%2Fdracut.git busybox/check: disable module by default and check for busybox binary --- diff --git a/modules.d/05busybox/check b/modules.d/05busybox/check index 06bd986..dc57cca 100755 --- a/modules.d/05busybox/check +++ b/modules.d/05busybox/check @@ -1,2 +1,7 @@ #!/bin/bash -exit 0 + +[[ $1 = -d ]] && exit 0 + +type -P busybox >/dev/null || exit 1 + +exit 255