Sync network time when a connection comes up

This commit is contained in:
Luxferre committed 2026-11-07 21:53:07 +02:00
1 parent 38d54f10ff
commit 9ac39ce6bf
13 files changed
+365 -8

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/sbin/openrc-run
name="Bananarchy network time sync"
description="Trigger NTP synchronisation once the network is up"
depend() {
need chronyd net
after networkmanager
}
start() {
ebegin "Triggering Bananarchy network time synchronisation"
/usr/bin/bananarchy-time-sync.sh boot >/dev/null 2>&1 &
eend 0
}