git: 9front

ref: 9482ba3dc7b2fc07e07b7ba08b7a07ffc8eca3c3
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'