diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-02-28 01:39:05 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-02-28 01:39:05 +0000 |
commit | 7beffb966df89097f9355ade5d83c3a150fff7d6 (patch) | |
tree | ebfaadabb280cbf4eebe17fb3f51bbe0d93f96d4 /chapter07/functions.xml | |
parent | a202fac245fef9da0fd502545ca42c16b3e804ff (diff) |
Removed excessive whitspace
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@248 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/functions.xml')
-rw-r--r-- | chapter07/functions.xml | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/chapter07/functions.xml b/chapter07/functions.xml index e62d75afd..351dfe824 100644 --- a/chapter07/functions.xml +++ b/chapter07/functions.xml @@ -96,9 +96,7 @@ loadproc() # # If no parameters are given to the print_status function, print usage - # information. - # if [ $# = 0 ] @@ -165,7 +163,6 @@ killproc() # # If no parameters are given to the print_status function, print usage # information. - # if [ $# = 0 ] @@ -216,9 +213,7 @@ killproc() # # If $pid contains something from the previous for loop it means one or - # more PID's were found that belongs to the processes to be killed - # if [ -n "$pid" ] then @@ -268,7 +263,6 @@ killproc() # # A kill level was provided. Kill with the provided kill level and wait # for 2 seconds to allow the kill to be completed - # /bin/kill $killlevel $pid if /bin/ps h $pid > /dev/null 2>&1 @@ -306,7 +300,6 @@ killproc() # The reloadproc functions sends a signal to a daemon telling it to # reload it's configuration file. This is almost identical to the # killproc function with the exception that it won't try to kill it with - # a -KILL signal (aka -9) # @@ -316,7 +309,6 @@ reloadproc() # # If no parameters are given to the print_status function, print usage # information. - # if [ $# = 0 ] @@ -353,7 +345,6 @@ reloadproc() # the pidlist variable will contains the output of the pidof command. # pidof will try to find the PID's that belong to a certain string; # $base in this case - # pidlist=$(/bin/pidof -o $$ -o $PPID -o %PPID -x $base) @@ -378,7 +369,6 @@ reloadproc() # # If nolevel was set we will use the default reload signal SIGHUP. - # if [ "$nolevel" = 1 ] @@ -414,7 +404,6 @@ statusproc() # # If no parameters are given to the print_status function, print usage # information. - # if [ $# = 0 ] |