This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
ntpd: restart instead of killall and start
Signed-off-by: Peter Wagner <tripolar@gmx.at>
lilik-openwrt-22.03
Peter Wagner
8 years ago
parent
228764bfe8
commit
325bba7095
2 changed files
with
3 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
net/ntpd/Makefile
+2
-3
net/ntpd/files/ntpd.hotplug
+ 1
- 1
net/ntpd/Makefile
View File
@ -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/
+ 2
- 3
net/ntpd/files/ntpd.hotplug
View File
@ -5,7 +5,6 @@ COMMAND=/etc/init.d/$NAME
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
$COMMAND enabled && {
killall ntpd
$COMMAND start
} &
$COMMAND restart
}
}
Write
Preview
Loading…
Cancel
Save