Sync network time when a connection comes up
This commit is contained in:
1 parent
38d54f10ff
commit
9ac39ce6bf
13 files changed
+365
-8
No files matched your search
+15
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user