This looks like a RedHat startup script.

The line

. /etc/rc.d/functions

sources a bunch of bash functions, one of which is 'action'.

action prints the first argument, and runs the rest of the arguments,
checking the return result to print the green or red [OK] or [FAILED]
in the RedHat boot sequence.


Cheers,

Colin


Arne Weiner wrote:

> What is 'action' for. The script works fine on my system, if
> remove the 'action "...."' stuff and outcomment the line
> . /etc/rc.d/functions.
> So I guess there is a problem with this action procedure.



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to