Cleanup the whitespace in functions

Cleanup the whitespace in functions, replace the 4 whitespaces
indent with tab.

(From OE-Core rev: 60df57a54ebfe8fa1c1574bcd7900c58810aa2d2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2011-05-17 09:29:25 +08:00 committed by Richard Purdie
parent 728cec9848
commit 0b175c42d7
1 changed files with 6 additions and 5 deletions

View File

@ -4,11 +4,12 @@
# shell scripts in the /etc/init.d directory.
#
machine_id() { # return the machine ID
awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo
machine_id() { # return the machine ID
awk 'BEGIN { FS=": " } /Hardware/ \
{ gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo
}
killproc() { # kill the named process(es)
pid=`/bin/pidof $1`
[ "$pid" != "" ] && kill $pid
killproc() { # kill the named process(es)
pid=`/bin/pidof $1`
[ "$pid" != "" ] && kill $pid
}