From 5c13206bd991df7efc48043feb3d0ae8489ab835 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 12 Jun 2011 19:12:46 -0400 Subject: init: don't attempt modprobe if $MODULES is empty This is harmless when it fails, but it might alarm users. Signed-off-by: Dave Reisner --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init') diff --git a/init b/init index a5e6103..c5f15f7 100644 --- a/init +++ b/init @@ -53,7 +53,7 @@ fi . /config -/sbin/modprobe -qab $MODULES +[ -n "$MODULES" ] && /sbin/modprobe -qab $MODULES # If rootdelay is empty or not a non-negative integer, set it to 10 if [ -z "${rootdelay}" ] || ! [ "${rootdelay}" -ge 0 ]; then -- cgit v1.2.3-24-g4f1b