git: 9front

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