openwrt/package/utils/busybox/files/ntpd-hotplug
Steven Barth 016d6acde5 ntp: add hotplug class for ntp-events
Based on a patch by Luiz Angelo Daros de Luca

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43421
2014-11-28 11:41:25 +00:00

4 lines
74 B
Bash
Executable File

#!/bin/sh
[ "$1" = stratum ] || exit 0
ACTION="$1" /sbin/hotplug-call ntp