I wrote: > If you also want to prevent the service from being started on a runlevel > change you have to do something else such as checking $0.
Init exports RUNLEVEL, PREVLEVEL, and INIT_VERSION. Thus INIT_VERSION will be set if you are booting or changing runlevels. -- John Hasler