diff options
Diffstat (limited to 'files/files/etc/hotplug.d/ntp/99-dayled')
| -rw-r--r-- | files/files/etc/hotplug.d/ntp/99-dayled | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/files/files/etc/hotplug.d/ntp/99-dayled b/files/files/etc/hotplug.d/ntp/99-dayled new file mode 100644 index 0000000..6dcaadc --- /dev/null +++ b/files/files/etc/hotplug.d/ntp/99-dayled | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | [ "$ACTION" = "stratum" ] || exit 0 | ||
| 2 | |||
| 3 | /etc/init.d/dayled stop | ||
| 4 | |||
| 5 | /usr/local/sbin/dayled.sh poll | ||
| 6 | |||
| 7 | /etc/init.d/dayled start \ No newline at end of file | ||
