config_init now returns success/fail