Flush config to disk after device detection.