packages: Use OpenWrt ntp vendor pool in default configs. (Cleaned whitespace too.)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@10189 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
agb
2008-01-14 10:38:27 +00:00
parent 182a270b1d
commit 83ccee9c38
13 changed files with 60 additions and 61 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ntpclient
PKG_VERSION:=2003_194
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://doolittle.icarus.com/ntpclient/
@ -35,7 +35,7 @@ endef
MAKE_FLAGS += \
all adjtimex
define Package/ntpclient/install
define Package/ntpclient/install
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_DATA) ./files/ntpclient.hotplug $(1)/etc/hotplug.d/iface/20-ntpclient
$(INSTALL_DIR) $(1)/etc/config

View File

@ -1,9 +1,9 @@
config ntpclient
option hostname 'pool.ntp.org'
option hostname '0.openwrt.pool.ntp.org'
option port '123'
option count '1'
config ntpclient
option hostname 'ntp.ubuntu.com'
option hostname '1.openwrt.pool.ntp.org'
option port '123'
option count '1'

View File

@ -13,7 +13,7 @@ config_cb() {
ntpclient)
config_get hostname $cfg hostname
config_get port $cfg port
config_get count $cfg count
config_get count $cfg count
[ "$DONE" = "1" ] && exit 0
ps | grep 'bin/[n]tpclient' >&- || {