From owner-freebsd-questions Sat Dec 11 12:33:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from 7of9.capsi.cx (Cable230.225.eneco.bart.nl [195.38.225.230]) by hub.freebsd.org (Postfix) with SMTP id 28F4114EA4 for ; Sat, 11 Dec 1999 12:33:21 -0800 (PST) (envelope-from cap@capsi.cx) Received: (qmail 20928 invoked by uid 1000); 11 Dec 1999 20:33:47 -0000 Date: Sat, 11 Dec 1999 21:33:47 +0100 From: Rob Kaper To: Marc Wandschneider Cc: freebsd-questions@freebsd.org Subject: Re: rc.sysinit alike file in FreeBSD? Message-ID: <19991211213347.A20921@capsi.cx> References: <19991211211809.A20889@capsi.cx> <001d01bf4415$51bf8090$230a0cd0@SHURIKEN> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <001d01bf4415$51bf8090$230a0cd0@SHURIKEN>; from marcw@lanfear.com on Sat, Dec 11, 1999 at 12:21:33PM -0800 X-Operating-System: Linux 7of9 2.2.13 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Dec 11, 1999 at 12:21:33PM -0800, Marc Wandschneider wrote: > Yeah methinks there is. Not exactly sure how to get around that one ... > Can you just add an additional line to your rc.local code to check for the > existence of the timestamp and then skip ? Not really, because the timestamp will still be there when the system is _really_ rebooted but it will have to be updated in that case. My uptime records daemon relies on the timestamp because I've found it a much more reliable 'boot session' identifier than the boottime given by the system. (that one changes upon daylight savings, rdate, etc) It would work if the timestamp could be cleaned upon startup... but if that was possible, my initial idea would be too, I think. Rob -- Rob Kaper | mail: cap@capsi.com + cap@capsi.cx | web: http://capsi.com/ + http://capsi.cx/ | "We continue to be guided by the most basic American values: | innovation, integrity, serving customers, partnership, quality, | and giving back to the community." -- Bill Gates of Microsoft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message