git: 9front

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