Thomas Hood ([EMAIL PROTECTED]) wrote:

> I propose to fix this bug by adding a script at S:S99 that stops bootlogd
> if the system is being booted with the "single" parameter.  Anyone see any
> problem with this idea?

There are other "aliases" for single, such as "1".  Some people might
come up in single user mode using one of those alternative boot parameters.
I don't know whether there's an exhaustive list of all of them anywhere,
either.

I suggest using the runlevel(8) command instead, assuming that it returns
reliable information.  The man page says it's safe to use in rc scripts, but
I haven't tried it myself.

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
[EMAIL PROTECTED]              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

Attachment: signature.asc
Description: Digital signature

Reply via email to