diff options
author | Hans Dedecker <hans.dedecker@technicolor.com> | 2016-06-08 16:39:04 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-06-10 18:05:08 +0200 |
commit | 96db69bd45e459def044645ad759245581a6a5b2 (patch) | |
tree | 91bbb55025f8b5a4a5f59fc7c8e661cb56d470ab /package/utils/busybox/files | |
parent | 7eaacd4d233678132914dc67f25f8b8d51100400 (diff) | |
download | upstream-96db69bd45e459def044645ad759245581a6a5b2.tar.gz upstream-96db69bd45e459def044645ad759245581a6a5b2.tar.bz2 upstream-96db69bd45e459def044645ad759245581a6a5b2.zip |
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 <dedeckeh@gmail.com>
Diffstat (limited to 'package/utils/busybox/files')
-rwxr-xr-x | package/utils/busybox/files/ntpd-hotplug | 1 |
1 files changed, 0 insertions, 1 deletions
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 |