git: 9front

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