git: 9front

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