add timeserver config to target specific system configs as well
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 4 Nov 2011 12:53:35 +0000 (12:53 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 4 Nov 2011 12:53:35 +0000 (12:53 +0000)
SVN-Revision: 28750

target/linux/adm5120/base-files/etc/config/system
target/linux/at91/flexibity/base-files/etc/config/system
target/linux/atheros/base-files/etc/config/system
target/linux/kirkwood/base-files-Dockstar/etc/config/system
target/linux/x86/alix2/base-files/etc/config/system

index 30f92ccc90e9014eb5aff8f60c6875a536379043..e7757d3da15fe1aaf4a36f952cf8893659d12928 100644 (file)
@@ -2,8 +2,11 @@ config system
        option hostname OpenWrt
        option timezone UTC
 
-config rdate
-       option interface        wan
+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 led
        option sysfs            lan1
index 140ac69c33f4d4539581618dd315331665c54617..18f1f0effc88edcf57b76cf8fd11596a3f217fb8 100644 (file)
@@ -2,5 +2,8 @@ config 'system'
        option 'timezone' 'UTC'
        option 'hostname' 'flexibity'
 
-config 'rdate'
-       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'
+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
index 47faa3cc500f6e4f7a5cfe855016d0c5a80ca3da..faf5d676c76d845c100843e2fc42d2a93fd9c717 100644 (file)
@@ -2,6 +2,12 @@ config system
        option hostname OpenWrt
        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
        option button   reset
        option action   released
index d3386cec25bb5966adaca06277b21b2860014679..7724007682b4ccd0bf74098ea16604f284b0d200 100644 (file)
@@ -3,8 +3,11 @@ config system
         option 'hostname' 'OpenWrt'
         option 'timezone' 'UTC'
 
-config rdate
-        option 'interface' 'lan'
+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 led
         option 'sysfs' 'dockstar:green:health'
index 28134b64c56c47894cbba8800a4c6df6dc77930d..c952b97330418c2703cd2125bdc608cf772f48c9 100644 (file)
@@ -2,8 +2,11 @@ config system
        option hostname OpenWrt
        option timezone UTC
 
-config rdate
-       option interface        wan
+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 led
        option default  1