#!/bin/bash
mkdir /etc/updates > /tmp/log.txt
tar -czf /media/backup/config/0.4.3-before/etc-vdr.tar.gz /etc/vdr/*
cp /etc/vdr/commands.conf /etc/vdr/commands.03
cp /etc/vdr/reccmds.conf /etc/vdr/reccmds.03
cp /etc/vdr/easyvdrshutdown.conf /etc/vdr/easyvdrshutdown.03

FILE="/etc/updates/03-pre.done"
touch $FILE
date > $FILE