#!/bin/sh echo "Setze Zeitzone" ZONEINFO_PATH=/usr/share/zoneinfo CFG=/home/tool/config/timezone cat $CFG >> /dev/null if [ "$?" -eq "0" ]; then ZONE=`cat $CFG | awk '{print $1}'` cd /etc rm localtime ln -s $ZONEINFO_PATH/$ZONE localtime echo "Zeitzone: $ZONEINFO_PATH/$ZONE" else # Werkseinstellung cd /etc rm localtime ln -s $ZONEINFO_PATH/Factory localtime echo "Zeitzone: $ZONEINFO_PATH/$ZONE" fi