Author: bdubbs
Date: 2012-02-09 22:11:28 -0700 (Thu, 09 Feb 2012)
New Revision: 9739
Modified:
trunk/BOOK/bootscripts/lfs/sbin/ifup
trunk/BOOK/packages.ent
Log:
Fix typo and clarify error check in ifup script
Modified: trunk/BOOK/bootscripts/lfs/sbin/ifup
===================================================================
--- trunk/BOOK/bootscripts/lfs/sbin/ifup 2012-02-09 23:17:42 UTC (rev
9738)
+++ trunk/BOOK/bootscripts/lfs/sbin/ifup 2012-02-10 05:11:28 UTC (rev
9739)
@@ -76,11 +76,11 @@
exit 0
fi
-for S in ${SERVICES}; do
- if [ ! -n "${S}" -o ! -x "/lib/services/${S}" ]; then
+for S in ${SERVICE}; do
+ if [ ! -x "/lib/services/${S}" ]; then
MSG="\nUnable to process ${file}. Either "
- MSG="${MSG}the SERVICE variable was not set "
- MSG="${MSG}or the specified service cannot be executed."
+ MSG="${MSG}the SERVICE '${S} was not present "
+ MSG="${MSG}or cannot be executed."
log_failure_msg "$MSG"
exit 1
fi
Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent 2012-02-09 23:17:42 UTC (rev 9738)
+++ trunk/BOOK/packages.ent 2012-02-10 05:11:28 UTC (rev 9739)
@@ -305,7 +305,7 @@
<!ENTITY less-ch6-du "3.5 MB">
<!ENTITY less-ch6-sbu "less than 0.1 SBU">
-<!ENTITY lfs-bootscripts-version "20120204"> <!-- Scripts
depend on this format -->
+<!ENTITY lfs-bootscripts-version "20120209"> <!-- Scripts
depend on this format -->
<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in
Makefile -->
<!ENTITY lfs-bootscripts-url
"&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
<!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM"> <!-- Updated in
Makefile -->
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page