xref: /plan9/rc/bin/setrtc (revision 6d2133e0d4be943e9ce2e416f00a3b046838334e)
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