aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2008-09-09 00:27:39 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2008-09-09 00:27:39 +0000
commit9a8e977ca167486cefc95875abf304208bfcce62 (patch)
treea1cf8eb789fa72375c1d51cfd11a60e0f2ba4fc8 /bootscripts
parent298aeee5cd11fd2a881f757b98be2ee62f561190 (diff)
Correct echo command in rc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8560 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/contrib/lsb-v3/ChangeLog2
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/rc4
2 files changed, 4 insertions, 2 deletions
diff --git a/bootscripts/contrib/lsb-v3/ChangeLog b/bootscripts/contrib/lsb-v3/ChangeLog
index bb79c63c4..dc2fe95d5 100644
--- a/bootscripts/contrib/lsb-v3/ChangeLog
+++ b/bootscripts/contrib/lsb-v3/ChangeLog
@@ -1,4 +1,6 @@
ChangeLog
+20080908 - [dj] * Corrected echo command in rc script - Thanks to
+ Michael Tremer at IPFire.
20080907 - [dj] * Use new initd-tools package to activate scripts.
* $syslog and modules services cannot be a hard dependencies
diff --git a/bootscripts/contrib/lsb-v3/init.d/rc b/bootscripts/contrib/lsb-v3/init.d/rc
index 75ddf8951..f3108d03d 100644
--- a/bootscripts/contrib/lsb-v3/init.d/rc
+++ b/bootscripts/contrib/lsb-v3/init.d/rc
@@ -60,8 +60,8 @@ fi
# Verify that the directory exists
if [ ! -d "${RC_BASE}/rc${runlevel}.d" ]; then
- echo -n "${WARNING}${RC_BASE}/rc${runlevel}.d does not exist."
- echo "${NORMAL}"
+ echo -n -e "${WARNING}${RC_BASE}/rc${runlevel}.d does not exist."
+ echo -e "${NORMAL}"
exit 1
fi