CVSROOT: /cvs Module name: src Changes by: rob...@cvs.openbsd.org 2011/03/17 10:43:51
Modified files: etc/rc.d : rc.subr etc : rc rc.local rc.shutdown Log message: - introduce the INRC environment variable so that rc.subr(8) knows if it gets called from rc.local or rc.shutdown - notify the user if a given operation was successfull or not by appending the (ok) or (failed) strings to the end of the daemon name - hide stdout and stdin unless RC_DEBUG=1 is set, otherwise all the function names will be printed out and all output sent to stdin or stdout - since from now on rc.subr is taking care of printing out the daemon names on startup, we don't need to do this from rc.{local,shutdown} anymore brainkilling work done by me and ajacoutot@, ok ajacoutot@