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:
@ -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
|
||||
|
@ -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'
|
||||
|
@ -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' >&- || {
|
||||
|
Reference in New Issue
Block a user