aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/lfs/init.d/modules4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootscripts/lfs/init.d/modules b/bootscripts/lfs/init.d/modules
index f1c226c7f..45c9220df 100644
--- a/bootscripts/lfs/init.d/modules
+++ b/bootscripts/lfs/init.d/modules
@@ -34,8 +34,8 @@ case "${1}" in
start)
# Exit if there's no modules file or there are no
# valid entries
- [ -r /etc/sysconfig/modules ] || exit 0
- [ $(egrep -qv '^($|#)' /etc/sysconfig/modules) ] || exit 0
+ [ -r /etc/sysconfig/modules ] || exit 0
+ $(egrep -qv '^($|#)' /etc/sysconfig/modules) || exit 0
log_info_msg "Loading modules:"