blob: 238580cf8f7bea3092ee3604283058695e118f8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/command/execlineb -P
fdmove -c 2 1
if
{
pipeline
{
s6-setuidgid ntp
backtick -n NTPSERVERIP
{
pipeline { s6-dnsip4 -t 16000 0.fr.pool.ntp.org }
s6-head -n 1
}
importas -u NTPSERVERIP NTPSERVERIP
s6-sntpclock -v 2 $NTPSERVERIP
}
s6-clockadd -e 120000
}
s6-setuidgid nobody
s6-sleep 14400
|