[arch-projects] [mkinitcpio][PATCH] init: don't modprobe if $MODULES is empty
12 Jun
2011
12 Jun
'11
11:17 p.m.
This is harmless when it fails, but it might alarm users. Signed-off-by: Dave Reisner <d@falconindy.com> --- I don't think this is a showstopper, but it should certainly be fixed ASAP. Apologies for having missed this. init | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 -- 1.7.5.4
4907
Age (days ago)
4907
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dave Reisner