git: 9front

ref: 71b2dc3ef3282c3b9bbdced260fa2f4d645e499d
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'