From: Peter Wagner Date: Mon, 6 Mar 2017 08:44:57 +0000 (+0100) Subject: ntpd: restart instead of killall and start X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=325bba709500d109ff8790d91b44f952cc075c5a;p=feed%2Fpackages.git ntpd: restart instead of killall and start Signed-off-by: Peter Wagner --- diff --git a/net/ntpd/Makefile b/net/ntpd/Makefile index f1e57ad4ff..98db1ae6f3 100644 --- a/net/ntpd/Makefile +++ b/net/ntpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ntp PKG_VERSION:=4.2.8p9 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ diff --git a/net/ntpd/files/ntpd.hotplug b/net/ntpd/files/ntpd.hotplug index 36cbe15976..67a4d6aaa3 100644 --- a/net/ntpd/files/ntpd.hotplug +++ b/net/ntpd/files/ntpd.hotplug @@ -5,7 +5,6 @@ COMMAND=/etc/init.d/$NAME [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && { $COMMAND enabled && { - killall ntpd - $COMMAND start - } & + $COMMAND restart + } }