#!/bin/sh unique_append() { grep -qF "$1" "$2" || echo "$1" >> "$2" } unique_append \ '0 */6 * * * ((sleep $(($RANDOM % 120)); eupgrade-check &> /dev/null)&)'\ /etc/crontabs/root