Little change on /lib/lsb/init-functions

Alberto González reydelamirienda at gmail.com
Sat Jun 11 17:48:35 CDT 2005


I thought that just as when a scrpt fails, the "fail" message comes out in 
red, the "ok" should
come in green, so I modified log_end_msg() like this:

RED....
GREEN=`$TPUT setaf 2`
...
if [ $1 -eq 0 ]; then
echo "$UP$END[ ${GREEN}ok${NORMAL} ]"
else
....

Greetings

PS: it would be nice to have localized messages in those scripts, at least 
in those mantained by the ubuntu team.
Bash makes it easy with gettext/xgettext.

-- 
I don't use Explorer, do you? 
Get Mozilla Firefox: 
http://www.mozilla.org/firefox/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20050612/7099fb45/attachment.htm


More information about the ubuntu-devel mailing list