ildetect.sh: env vars support