start="$(date)"
if [ ! -n "$1" ]
then
- echo "Was this script called from udev? I need the ID_FS_UUID_ENC variable" | tee /home/mrl/backup.log
+ echo "Was this script called from udev? I need the UUID as the first argument" > /home/mrl/backup.log
exit 1
elif mountpoint -q /mnt/backupdrive
then