Date: Tue, 29 Aug 2000 10:06:54 +0200 (CEST) From: Ronald Klop <ronald@klop.yi.org> To: freebsd-questions@freebsd.org Subject: detecting reboot Message-ID: <Pine.BSF.4.21.0008291002010.415-100000@dlanor.evertsen.nl>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, How do I detect in a script in /usr/local/etc/rc.d that the machine just rebooted in stead of going to single-user and back to multi-user. In the login-log (last | head) is no difference between the two situations. And looking at an uptime of 0 days is not really accurate, because a shutdown more times a day is possible. Anybody has a clue? Greetings, Ronald. - -- Ronald Klop http://klop.yi.org/ http://www.FreeBSD.org/ http://klop.yi.org/~ronald/ PGP: http://klop.yi.org/~ronald/pgp.txt mailto:ronald@klop.yi.org?Subject=publicpgpkey -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQA/AwUBOatvHxk9lWSXChWeEQJ5wQCfbl2NabciE13xX+7QgFznjE1zd+wAoKgA dCXypY3J/KhH/C0TeX1qzhp5 =AdDe -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008291002010.415-100000>