Add routeup and tlsdated.

The routeup(1) helper program listens for new IP routes and emits output on
stdout when a new route appears. The tlsdated(1) program runs tlsdate(1) as
appropriate to maintain an accurate system clock; it tries once when the system
comes up, then tries repeatedly whenever a new route appears until it succeeeds.
After succeeding, tlsdated falls back to running tlsdate once a day to
compensate for gradual clock drift. We also keep the rtc synchronized whenever
we run tlsdate.


Change-Id: I4ecef2ca958d9195f19bb0d099802dde0fb410d9
Signed-off-by: Elly Jones <>
Reviewed-by: Will Drewry <>
8 files changed