From cd7ee4913dc0ff4a2b27f6c168e26c5e8445e4eb Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 10 Nov 2010 16:38:40 +0100 Subject: [PATCH] busybox/check: disable module by default and check for busybox binary --- modules.d/05busybox/check | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.7.4