aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'init.d')
-rw-r--r--init.d/modules-load.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/modules-load.in b/init.d/modules-load.in
index 0f80396d..2387a8d6 100644
--- a/init.d/modules-load.in
+++ b/init.d/modules-load.in
@@ -44,8 +44,8 @@ load_modules()
[ -z "$file" ] && return 0
while read m x; do
case $m in
- \;) continue ;;
- \#) continue ;;
+ \;*) continue ;;
+ \#*) continue ;;
*) modules="$modules $m"
;;
esac