Set the value of a boolean config variable in the config file with the highest level (usually the local one).
where to look for the variable
the variable's name
the value to store
0 or an error code