openwrt/package/utils/busybox/files/ntpd-hotplug
Hans Dedecker 96db69bd45 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>
2016-06-10 18:05:08 +02:00

3 lines
45 B
Bash
Executable File

#!/bin/sh
ACTION="$1" /sbin/hotplug-call ntp