Hi.
I have script named "foo" in /etc/rc.d/init.d so I can start/stop/restart it.
When I write
# ./foo start
Starting server a.out:
And thats it.... I do not see [ OK ] message on the right and there's no shell prompt.
a.out is a perfectly valid small sample program, so what is missing here?
On the other hand if I replace my sample program with another application, then I do see the [ ok ] message. So the foo script is correct.
It seems that I'm missing some message or signal passing mechanism in the sample program, but have no idea of what it is.
Any suggestions?
Thanks