setrtc 124 B

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