aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/openrc/modules.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/openrc/modules.initd b/main/openrc/modules.initd
index a9829f4bc5..8d94f976e8 100644
--- a/main/openrc/modules.initd
+++ b/main/openrc/modules.initd
@@ -19,7 +19,7 @@ start() {
continue
fi
- sed 's/\#.*//g' < "$f" | while read module args; do
+ sed 's/\#.*//g;/^[[:space:]]*$/d' < "$f" | while read module args; do
modprobe -q $module $args
done
done