openwrt/package/utils/busybox/files/ntpd-hotplug

4 lines
74 B
Bash
Executable File

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