|
|
|
@ -170,11 +170,11 @@ void yon_save_proceed(char *path,YON_CONFIG_TYPE type){
|
|
|
|
yon_config_save_registered(path);
|
|
|
|
yon_config_save_registered(path);
|
|
|
|
else{
|
|
|
|
else{
|
|
|
|
if (type==YON_CONFIG_BOTH)
|
|
|
|
if (type==YON_CONFIG_BOTH)
|
|
|
|
yon_launch("ubconfig remove system LOGROTATE[*] JOURNALD[*]");
|
|
|
|
yon_launch("ubconfig remove logging LOGROTATE[*] JOURNALD[*]");
|
|
|
|
else if (type==YON_CONFIG_LOCAL)
|
|
|
|
else if (type==YON_CONFIG_LOCAL)
|
|
|
|
yon_launch("ubconfig --target system remove system LOGROTATE[*] JOURNALD[*]");
|
|
|
|
yon_launch("ubconfig --target system remove logging LOGROTATE[*] JOURNALD[*]");
|
|
|
|
else if (type==YON_CONFIG_GLOBAL)
|
|
|
|
else if (type==YON_CONFIG_GLOBAL)
|
|
|
|
yon_launch("ubconfig --target global remove system LOGROTATE[*] JOURNALD[*]");
|
|
|
|
yon_launch("ubconfig --target global remove logging LOGROTATE[*] JOURNALD[*]");
|
|
|
|
yon_config_force_save_registered(path);
|
|
|
|
yon_config_force_save_registered(path);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|