xref: /plan9-contrib/rc/bin/setrtc (revision 0a4f5b8ee35d2d62b8600a1c256abb8ff2d92d7d)
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