Date: Tue, 3 Sep 2002 13:21:19 +0300 From: Peter Pentchev <roam@ringlet.net> To: Paolo <paolo@linux.netline.it> Cc: freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: to log the output of rc scripts Message-ID: <20020903102119.GC39422@straylight.oblivion.bg> In-Reply-To: <20020902183524.A69527@linux.netline.it> References: <20020902183524.A69527@linux.netline.it>
next in thread | previous in thread | raw e-mail | index | archive | help
--z4+8/lEcDcG5Ke9S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 02, 2002 at 06:35:24PM +0200, Paolo wrote: > Hi all! > I need to administer remotely a bunch of freebsd boxes. I would > be very useful to have access to the output of the rc scripts to see, for > example, if a cvsup session has worked correctly... > Is it there an option to force logging the output of the rc scripts? > Would it be useful if I started working on the subject? I believe that, in general, 'dmesg -a' should do what you want. A quick and easy solution, off the top of my head, would be to add an /usr/local/etc/rc.d/ZZZZZZZZ.savemessages.sh script, which does something like dmesg -a > /var/log/dmesg-afterboot.log or the like. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence contains exactly threee erors. --z4+8/lEcDcG5Ke9S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9dI0f7Ri2jRYZRVMRAv8XAKCDOJ+UHUjiKWZLIp23JxAvqTrmpgCfVg/Y Gv+NwueFas4oWSuUnl7n4Bc= =WBX/ -----END PGP SIGNATURE----- --z4+8/lEcDcG5Ke9S-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020903102119.GC39422>