gluon-core: add support for NTP server configuration

This commit is contained in:
Matthias Schiffer 2014-01-21 04:16:21 +01:00
parent e57e88ee6c
commit e03fb9f8eb

View File

@ -0,0 +1,12 @@
#!/bin/sh
[ -n '@ntp_servers@' ] || exit 0
uci delete system.ntp.server
for server in @ntp_servers@; do
uci add_list system.ntp.server="$server"
done
uci commit system