grep -o only prints matching chars, results in old/backed up configs in directory being treated as active configs. There’s probably a better way to check for configs that have established services associated with them, but as a quick-and-dirty fix, I’ve just removed the -o flag from that check to fix #9
grep -o only prints matching chars, results in old/backed up configs in directory being treated as active configs. There’s probably a better way to check for configs that have established services associated with them, but as a quick-and-dirty fix, I’ve just removed the -o flag from that check to fix #9