From 325bba709500d109ff8790d91b44f952cc075c5a Mon Sep 17 00:00:00 2001 From: Peter Wagner Date: Mon, 6 Mar 2017 09:44:57 +0100 Subject: [PATCH] ntpd: restart instead of killall and start Signed-off-by: Peter Wagner --- net/ntpd/Makefile | 2 +- net/ntpd/files/ntpd.hotplug | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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 + } } -- 2.30.2