mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Removed excessive whitspace
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@248 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a202fac245
commit
7beffb966d
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user