aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-03-02 19:34:13 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-03-02 19:34:13 +0000
commit0b1c47806eed8c5122632b9455d40824862e2c80 (patch)
treeadb7cd12382d20d55955d0a9cec1df7490886c23
parentb8273fbb08c7b988eb10a9fc3acfd2d85b55ed3f (diff)
This time got all of them & replaced with &amp; 's
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@256 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter07/rc.xml10
-rw-r--r--chapter07/rcS.xml2
2 files changed, 6 insertions, 6 deletions
diff --git a/chapter07/rc.xml b/chapter07/rc.xml
index 4048977c5..7a306cefd 100644
--- a/chapter07/rc.xml
+++ b/chapter07/rc.xml
@@ -119,7 +119,7 @@ then
then
for i in /etc/rc$runlevel.d/K*
do
- [ ! -f $i ] && continue
+ [ ! -f $i ] &amp;&amp; continue
#
# the suffix variable will contain the script name without the leading
@@ -150,8 +150,8 @@ then
# more info on this.
#
- [ ! -f $previous_start ] &&
- [ ! -f $sysinit_start ] && continue
+ [ ! -f $previous_start ] &amp;&amp;
+ [ ! -f $sysinit_start ] &amp;&amp; continue
#
# If we found previous_start or sysinit_start, run the K script
@@ -181,7 +181,7 @@ then
for i in /etc/rc$runlevel.d/S*
do
- [ ! -f $i ] && continue
+ [ ! -f $i ] &amp;&amp; continue
if [ $previous != N ]
then
@@ -199,7 +199,7 @@ then
# iteration and start the next one.
#
- [ -f $previous_start ] && [ ! -f $stop ] &&
+ [ -f $previous_start ] &amp;&amp; [ ! -f $stop ] &amp;&amp;
continue
fi
diff --git a/chapter07/rcS.xml b/chapter07/rcS.xml
index 908059d04..7008504c6 100644
--- a/chapter07/rcS.xml
+++ b/chapter07/rcS.xml
@@ -30,7 +30,7 @@ trap ":" INT QUIT TSTP
for i in /etc/rcS.d/S??*
do
- [ ! -f "$i" ] && continue;
+ [ ! -f "$i" ] &amp;&amp; continue;
$i start
done