mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
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"
|