config.c: add control flags to ignore device or trigger configuration

Signed-off-by: Federico Vaga <federico.vaga@gmail.com>