[Discuss] about service script
pw
p.willis at telus.net
Thu Nov 6 08:50:05 PST 2008
J.Bakshi wrote:
> Hi,
>
> I have design a service script which execute the linc during linux startup and
> connect to 24online ISP. During shut down it disconnect the internet
> connection. But this script is missing one nice feature. For an example if
> you start/stop/restart say sshd you can see [done] in green color. Like
>
> starting sshd [done]
>
> How can i implement this green [done] in my script.
>
> The script I have designed is as below ( this is a debian box )
Use ANSI color escape codes.
http://www.linuxfocus.org/English/May2004/article335.shtml
Peter
More information about the Discuss
mailing list