mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
6f70462952
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>
4 lines
88 B
Bash
4 lines
88 B
Bash
#!/bin/sh
|
|
NTPSTRATUMFILE="/var/run/aiccu_ntp_stratum"
|
|
echo $stratum > "$NTPSTRATUMFILE"
|