Some improvements to the init.d/functions script
LFS-User at mcmurchy.com
Sun Aug 14 21:54:00 PDT 2005
DJ Lucas wrote these words on 08/14/05 23:47 CST:
> Is that yes - I'd like to see a nice green '[ OK ]' when I stop an
> already stopped process (the way it is now, which _is_ correct by the
> exit status)?
> Or is that yes - I'd like to see a yellow 'Warning: not
> running [ WARN ]' when I stop it (which also returns 0 as is
> required for LSB)?
Well, actually, I like this, but since we now have an opportunity to
make it "just right", wouldn't it be better to say [ NOTICE ] instead
of [ WARN ]?
If this is something more than tweaking a string in the functions,
then by all means, simply convert my answer to a resounding YES to
put it back the way it used to be. However, it seems that making
the string change would be easy, and [ NOTICE ] seems better than
[ WARN ].
rmlscsi: [GNU ld version 188.8.131.52.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
23:48:59 up 134 days, 23:22, 3 users, load average: 0.00, 0.00, 0.08
More information about the lfs-dev