shithub: riscv

ref: c470e77eae8d37cb084e1b195cba5643b88f8ea7
dir: /rc/bin/setrtc/

View raw version
#!/bin/rc
# setrtc - set real-time clock to current system time
if (test -e '#r/rtc')
	awk '{print $1}' /dev/time >'#r/rtc'