cmd_rtc.sh: set the actual time from the host system

This commit is contained in:
Arne Zachlod 2025-03-11 15:39:11 +01:00
parent 7812afa2e1
commit dd370d23e9

View file

@ -1,9 +1,5 @@
#! /bin/sh #! /bin/sh
# year = 2025 EPOCH=$(date +%s)
# month = 02
# day = 18 echo "__sdlogger__ {\"cmd\": \"RTC\", \"epoch\": ${EPOCH}}" > /dev/kmsg
# hour = 14
# min = 59
# sec = 6
echo '__sdlogger__ {"cmd": "RTC", "epoch": 1739890746}' > /dev/kmsg