normally one overides config values in config.php and leave the includes/defaults.inc.php untouched.
e.g. add a value to the “bad_if” array that already exists in includes/defaults.inc.php
$config[‘bad_if’][] = ‘badinterface’;
in config.php
BUT, how do you remove a predefined value/element from this already existing array ?
because includes/defaults.inc.php shouldn’t be touched (under git control)
Adding some notes here:
tried:
unset($config[‘bad_if’]);
To empy the array from includes/defaults.inc.php
and then
$config[‘bad_if’][] = ‘voip-null’;
$config[‘bad_if’][] = ‘virtual-’;
…etc,…
in config.php to repopulate the “bad_if” array…
It seems that the “bad_if” array isn’t “unset” in config.php, but the values are simply added to the array which still exists…