git: 9front

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