git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
228764b
)
ntpd: restart instead of killall and start
author
Peter Wagner
<redacted>
Mon, 6 Mar 2017 08:44:57 +0000
(09:44 +0100)
committer
Peter Wagner
<redacted>
Mon, 6 Mar 2017 08:44:57 +0000
(09:44 +0100)
Signed-off-by: Peter Wagner <redacted>
net/ntpd/Makefile
patch
|
blob
|
history
net/ntpd/files/ntpd.hotplug
patch
|
blob
|
history
diff --git
a/net/ntpd/Makefile
b/net/ntpd/Makefile
index f1e57ad4ffa74ed40015651b749ba5d4e7a00131..98db1ae6f3998e9085cbb63926ed1c8af14c688b 100644
(file)
--- 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 36cbe15976aece6106d15ce40ecd3375b6610827..67a4d6aaa35190ee2f0911d03a3673b0922a9e22 100644
(file)
--- 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
+ }
}
git clone https://git.99rst.org/PROJECT