#!/bin/sh
#
# Check for f-prot updates if update script is present
#
# set to "false" if you don't want automatic checks for virus definition updates on each dialup
# 
FPROT_USE_PPP=true
#
UPDATESCRIPT=/usr/lib/f-prot/tools/check-updates
if [ -x $UPDATESCRIPT ]; then
    if [ ${FPROT_USE_PPP} = true ]; then
	exec $UPDATESCRIPT	
    fi
else
    echo "Error: $UPDATESCRIPT was either not found or is not executable" >&2
    exit 1
fi
