Martineau
Part of the Furniture
IPSET_Netflix_Domains.sh
Minor typo - function always (needlessly) creates the schedule?
Code:
# If cronjob to back up the NETFLIX ipset list every 24 hours @ 2:00 AM does not exist, then create it
check_cron_job () {
cru l | grep x3mRouting_NETFLIX_DNSMASQ_ipset_list
if [ "$?" = "1" ]; then # no cronjob entry found, create it
cru a x3mRouting_NETFLIX_DNSMASQ "0 2 * * * ipset save x3mRouting_NETFLIX_DNSMASQ > /opt/tmp/x3mRouting_NETFLIX_DNSMASQ"
fi
}