[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: init.d return values

On Tue, 2003-07-08 at 10:20, albert usqualius wrote:
> I'd like all init.d scripts to return a useful value.

Please consider LSB compatibility.

The following return codes are defined in the current draft.

1 generic or unspecified error (current practice)
2 invalid or excess argument(s)
3 unimplemented feature (for example, "reload")
4 user had insufficient privilege
5 program is not installed
6 program is not configured
7 program is not running
8-99 reserved for future LSB use
100-149 reserved for distribution use
150-199 reserved for application use
200-254 reserved

Reply to: