#!/bin/sh
#Ein Shell Script welches nach Installation des Paketes ausgefhrt wird

echo "-> Set symlink for emustart..."
ln -s /usr/Timeport/emustart /etc/rc3.d/S99emustart
echo "-> Search backup.tar archive..."
if [ -f /usr/Timeport/backup/backup.tar ]; then
echo "-> Recover backup.tar..."
tar -xf /usr/Timeport/backup/backup.tar -C /usr/Timeport/
else echo "-> No backup.tar archive for recover found..."
fi
echo "-> Box rebooting now, and start with CCcam & NewCS..."
echo "-> Have fun with this relese, greets from Timeport"
init 6

exit 0