Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Two RTCs - how to choose in dependence of existence to eth0
Date: Thu, 22 Aug 2013 17:24:56
Message-Id: 20130822172443.GB3339@solfire
1 Hi,
2
3 there are two RTC in my system. One is powered by the
4 power of the system itsself and will forget space and
5 time if the system is powered off. This is RTC0.
6 The second one is powered by a little CR3216. This one
7 will not forget the time. This is RTC1
8 The system itsself is portable and will be used with and
9 without access to the internet (no ethernet, no eth0).
10
11 Surely it is possible to hack together a script which will
12 run at boot time to figure out the source of the valid time.
13 But this is somehow less elegant and gentoo-ish as it should be.
14
15 I didnt found an application (via eix) which address this "problem".
16
17 What is the recommended way to accomplish this task?
18
19 Thank you very much in advance for any help!
20 Best regards,
21 mcc

Replies

Subject Author
Re: [gentoo-user] Two RTCs - how to choose in dependence of existence to eth0 Florian Philipp <lists@×××××××××××.net>