7cd70aee4d
setting. The log is temp stored in /lib/rc/init.d/rc.log and appended to /var/log/rc.log if it's writeable. sysinit cannot be logged in Linux as we rely on sysinit to bring the system up to a point where we can log. single user cannot be logged on FreeBSD due to waitpid(0,0,0) incorrectly waiting for the log daemon in another process group.
12 lines
197 B
C
12 lines
197 B
C
/*
|
|
rc-logger.h
|
|
Copyright 2007 Gentoo Foundation
|
|
*/
|
|
|
|
pid_t rc_logger_pid;
|
|
int rc_logger_tty;
|
|
extern bool rc_in_logger;
|
|
|
|
void rc_logger_open (const char *runlevel);
|
|
void rc_logger_close ();
|