xref: /plan9/rc/bin/setrtc (revision c4b21101c696bd5189b0abb3785273b934a43039)
1#!/bin/rc
2# setrtc - set real-time clock to current system time
3if (test -e '#r/rtc')
4	awk '{print $1}' /dev/time >'#r/rtc'
5