From: Hans Dedecker Date: Wed, 8 Jun 2016 14:39:04 +0000 (+0200) Subject: busybox: Call ntpd hotplug script for every action X-Git-Tag: v17.01.0-rc1~2456 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=96db69bd45e459def044645ad759245581a6a5b2;p=openwrt%2Fstaging%2Fchunkeey.git busybox: Call ntpd hotplug script for every action Daemons that are waiting for a timesync are only triggered when the action is stratum. As step is the first sync action pass all actions to the ntpd hotplug scripts; it's up to the ntpd hotplugscript to filter out the actions it is interested in. Signed-off-by: Hans Dedecker --- diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile index 50e2baa031..36d02e2e91 100644 --- a/package/utils/busybox/Makefile +++ b/package/utils/busybox/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=busybox PKG_VERSION:=1.24.2 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_FLAGS:=essential PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 diff --git a/package/utils/busybox/files/ntpd-hotplug b/package/utils/busybox/files/ntpd-hotplug index ddc1490a47..8d6d609166 100755 --- a/package/utils/busybox/files/ntpd-hotplug +++ b/package/utils/busybox/files/ntpd-hotplug @@ -1,3 +1,2 @@ #!/bin/sh -[ "$1" = stratum ] || exit 0 ACTION="$1" /sbin/hotplug-call ntp