; Use this script to execute the atomclock program and insure that your
; system clock is always set for the proper time (standard or daylight)
; time by also running dst/


cls   ; I'm not sure where this "clear" command came from, I think it was
      ; public domain and downloaded from somewhere

echo "*n*n[33m[1m                               Atomic Clock v1.0[0m"
echo "*n*n                          This program will dial the"
echo "                   U.S. Naval Observatory in Washington DC,"
echo "          read the 1200 baud time signal their atomic clock generates,"
echo "                  and set the Amiga system clock accordingly."
echo "*n[33m                       Long Distance charges will apply.[0m*n*n"
ask "                         Do you want to proceed?  (y/n)" 
   if warn
   stack 10000
   atomclock z/MST ; sets mountain standard time (MST)
                   ; Always choose STANDARD time for your area.
   rtclock -w ; reads the system clock into the battery clock
              ; this command is for "insider", you may need
              ; a different command like "setclock save".
   dst f      ; "dst f" correct the system clock if it's DST.
              ; Note the "f" option, this is necesary to force the dst
              ; evaluation if dst has already been executed for this
              ; boot.  (dst should have been executed in your startup-sequence.
   endif


