test cases for rtc and reset command
This commit is contained in:
parent
2a20349bd2
commit
658e8f3e6a
2 changed files with 14 additions and 0 deletions
5
cmd_reset.sh
Normal file
5
cmd_reset.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#! /bin/sh
|
||||
|
||||
echo '__sdlogger__ {"cmd": "reset"}' > /dev/kmsg
|
||||
|
||||
|
||||
9
cmd_rtc.sh
Normal file
9
cmd_rtc.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#! /bin/sh
|
||||
|
||||
# year = 2025
|
||||
# month = 02
|
||||
# day = 18
|
||||
# hour = 14
|
||||
# min = 59
|
||||
# sec = 6
|
||||
echo '__sdlogger__ {"cmd": "RTC", "epoch": 1739890746}' > /dev/kmsg
|
||||
Loading…
Add table
Reference in a new issue