Comment 6 for bug 268765

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

What about this for the cron job? It only runs if landscape-client is enabled.

#!/bin/sh

[ -f "/etc/default/landscape-client" ] || exit 0

source /etc/default/landscape-client

[ "$RUN" -eq "1" ] && /usr/share/smart/smart update > /dev/null 2>&1

exit 0