#!/bin/sh # $1 Timezonename # $2 YYYY # $3 MM # $4 DD # $5 HH # $6 mm # $7 ss # $8 arch #=== Timezone setzen cp /usr/share/zoneinfo/$1 /etc/localtime echo "$1" echo "$1" > /etc/timezone #==== Zeit Setzen date -s "$2-$3-$4 $5:$6:$7" if [ $8 != "x86_64" ] then BASEBOARD=`cat /tmp/BASEBOARD` if [ "$BASEBOARD" == "DISPLAY001" ]; then /root/gfa_spi -w fi if [ "$BASEBOARD" == "DISPLAY002_DI4" ]; then /sbin/hwclock -uw fi fi