add timeserver config to target specific system configs as well

SVN-Revision: 28750
This commit is contained in:
Jo-Philipp Wich 2011-11-04 12:53:35 +00:00
parent c8321c3ca6
commit d6f02b62d4
5 changed files with 26 additions and 8 deletions

View file

@ -2,8 +2,11 @@ config system
option hostname OpenWrt option hostname OpenWrt
option timezone UTC option timezone UTC
config rdate config timeserver
option interface wan list server 0.openwrt.pool.ntp.org
list server 1.openwrt.pool.ntp.org
list server 2.openwrt.pool.ntp.org
list server 3.openwrt.pool.ntp.org
config led config led
option sysfs lan1 option sysfs lan1

View file

@ -2,5 +2,8 @@ config 'system'
option 'timezone' 'UTC' option 'timezone' 'UTC'
option 'hostname' 'flexibity' option 'hostname' 'flexibity'
config 'rdate' config timeserver
option 'server' 'ac-ntp0.net.cmu.edu ptbtime1.ptb.de ac-ntp1.net.cmu.edu ntp.xs4all.nl ptbtime2.ptb.de cudns.cit.cornell.edu ptbtime3.ptb.de' list server 0.openwrt.pool.ntp.org
list server 1.openwrt.pool.ntp.org
list server 2.openwrt.pool.ntp.org
list server 3.openwrt.pool.ntp.org

View file

@ -2,6 +2,12 @@ config system
option hostname OpenWrt option hostname OpenWrt
option timezone UTC option timezone UTC
config timeserver
list server 0.openwrt.pool.ntp.org
list server 1.openwrt.pool.ntp.org
list server 2.openwrt.pool.ntp.org
list server 3.openwrt.pool.ntp.org
config button config button
option button reset option button reset
option action released option action released

View file

@ -3,8 +3,11 @@ config system
option 'hostname' 'OpenWrt' option 'hostname' 'OpenWrt'
option 'timezone' 'UTC' option 'timezone' 'UTC'
config rdate config timeserver
option 'interface' 'lan' list server 0.openwrt.pool.ntp.org
list server 1.openwrt.pool.ntp.org
list server 2.openwrt.pool.ntp.org
list server 3.openwrt.pool.ntp.org
config led config led
option 'sysfs' 'dockstar:green:health' option 'sysfs' 'dockstar:green:health'

View file

@ -2,8 +2,11 @@ config system
option hostname OpenWrt option hostname OpenWrt
option timezone UTC option timezone UTC
config rdate config timeserver
option interface wan list server 0.openwrt.pool.ntp.org
list server 1.openwrt.pool.ntp.org
list server 2.openwrt.pool.ntp.org
list server 3.openwrt.pool.ntp.org
config led config led
option default 1 option default 1