git: 9front

ref: 9f1657a2cd622730c3a3d4de616b8e253f82deb3
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'