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:
parent
728cec9848
commit
0b175c42d7
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue