|
|
|
|
@ -444,12 +444,14 @@ void yon_config_restore(main_window *){
|
|
|
|
|
yon_launch(yon_debug_output("%s\n","ubconfig --source system remove [autoinstall]"));
|
|
|
|
|
yon_config_custom_apply(&main_config.startup_config);
|
|
|
|
|
yon_config_set_status_full(1);
|
|
|
|
|
int size;
|
|
|
|
|
int size = 0;
|
|
|
|
|
config_str parameters = yon_config_get_save_parameters(&size);
|
|
|
|
|
if (size){
|
|
|
|
|
char *command_params = yon_char_parsed_to_string(parameters,size, " ");
|
|
|
|
|
char *command = ubconfig_set_command_full("system","",command_params);
|
|
|
|
|
yon_debug_output("%s\n",command);
|
|
|
|
|
yon_launch(command);
|
|
|
|
|
yon_char_parsed_free(parameters,size);
|
|
|
|
|
free(command);
|
|
|
|
|
}
|
|
|
|
|
}
|