git: 9front

ref: 332f070e5a51e5fcc1f2f17f15f67aa98a01b5f4
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'