git: 9front

ref: a337b4af832c3c1eebf2fb71b0563d052f25a0b5
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'