git: 9front

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