From d8efcaddcc8033ed839e7055dfcd788a106bc3b9 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 26 Sep 2011 16:40:50 +0000 Subject: [PATCH] Correct syntax in modules boot script git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9603 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- bootscripts/lfs/init.d/modules | 4 ++-- chapter01/changelog.xml | 9 +++++++++ general.ent | 4 ++-- packages.ent | 2 +- 4 files changed, 14 insertions(+), 5 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:" diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3e0ddbc08..a050a55cb 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,15 @@ --> + + 2011-09-26 + + + [bdubbs] - Correct syntax in modules boot script. + + + + 2011-09-23 diff --git a/general.ent b/general.ent index cfc97e700..a8653a3c3 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + diff --git a/packages.ent b/packages.ent index a3539db07..b624fe3a3 100644 --- a/packages.ent +++ b/packages.ent @@ -298,7 +298,7 @@ - +