|
|
|
|
|
|
|
[Original]
[Print]
[Top]
|
dear guys
If we are starting or stoping the service like httpd we should have message like this
$/sib/httpd start
Starting httpd : [OK]
My question is how we can replace the syntax [OK] by the another one that we want for example we want get the message like this
$/sib/httpd start
Starting httpd : [OKAAYYYYYYY]
Okay
regards
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
I believe the colorful '[OK]' is printed by the echo_success() function in /etc/init.d/functions, so it should be fairly trivial to replace OK (on line 388 in my version) with any text you like.
|
|
|
[Original]
[Print]
[Top]
|
|
|