crontab -e
@reboot /root/скрипт.sh
cfg set sntp_timezone=2
cfg save
[Unit]
Description=my own ntp service
Requires=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/путь/к/файлу/со/скриптом.sh
[Install]
WantedBy=multi-user.target
#!/bin/bash
rdate time.nist.gov
export TZ=UTC-2
chown +x скрипт.sh
systemctl daemon-reload
systemctl start myntp
systemctl enable myntp