#!/usr/bin/php &1"); passthru("chown opendkim:opendkim alternc.private 2>&1"); mysql_query("UPDATE domaines SET dns_action='UPDATE' WHERE domaine='".$c["domaine"]."';"); $hasdoneone=true; } } if ($hasdoneone) { echo "I created some keys, launching update_domaines...\n"; passthru("/usr/lib/alternc/update_domains.sh 2>&1"); } else { echo "I did nothing, opendkim seems fine...\n"; }