#!/bin/sh

if [ $# -eq 0 ] ; then
 echo "_________________________________________________________________________________"
 echo " Herminux hardware date & time setter script. Usage:  settime YYYY.MM.DD-HH:MM:SS"
 echo "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
 exit 0
fi

date $1
hwclock --systohc

