mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
ntpd: restart instead of killall and start
Signed-off-by: Peter Wagner <tripolar@gmx.at>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ntp
|
PKG_NAME:=ntp
|
||||||
PKG_VERSION:=4.2.8p9
|
PKG_VERSION:=4.2.8p9
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/
|
PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ COMMAND=/etc/init.d/$NAME
|
|||||||
|
|
||||||
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
|
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
|
||||||
$COMMAND enabled && {
|
$COMMAND enabled && {
|
||||||
killall ntpd
|
$COMMAND restart
|
||||||
$COMMAND start
|
}
|
||||||
} &
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user