mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
ntpd: *mimic the behaviour of the busybox ntpd's "-S" flag
*create a seperate line for every server, otherwise only the first listed server will be used
This commit is contained in:
@@ -68,7 +68,10 @@ start_service() {
|
||||
emit ""
|
||||
fi
|
||||
|
||||
emit "server $server iburst"
|
||||
for i in $server
|
||||
do
|
||||
emit "server $i iburst"
|
||||
done
|
||||
|
||||
mkdir -p /var/lib/ntp
|
||||
chown -R ntp:ntp /var/lib/ntp
|
||||
|
||||
Reference in New Issue
Block a user