mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
aiccu: Add NTP hotplug hook
This hook simply writes current stratum to /var/run/aiccu_ntp_stratum, from where it is read by aiccu proto script. Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
NTPSTRATUMFILE="/var/run/aiccu_ntp_stratum"
|
||||
echo $stratum > "$NTPSTRATUMFILE"
|
||||
Reference in New Issue
Block a user