aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-09-26 16:40:50 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-09-26 16:40:50 +0000
commitd8efcaddcc8033ed839e7055dfcd788a106bc3b9 (patch)
tree3331694a7ec7a2f9fba32743da4dd4092b115fcf /bootscripts
parent240ff150c6a2700866b7cf9505f5af933f3df3e3 (diff)
Correct syntax in modules boot script
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9603 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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:"