blob: be19c56c04a018787e44b0ef16dbfa7d55c995a6 (
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
}
import -u NTPSERVERIP
s6-sntpclock -v 2 $NTPSERVERIP
}
s6-clockadd -e 120000
}
s6-setuidgid nobody
s6-sleep 14400
|