/tmp/yggdrasil.conf

nickey
This commit is contained in:
plant_1312 2020-02-03 16:27:20 +00:00
parent fa61015e18
commit caa4ac4496

View File

@ -73,9 +73,9 @@ namespace Yggtk {
obj.set_string_member ("Peers", ip.text);
string ptext = Json.to_string (node, true);
FileUtils.set_contents ("yggdrasil.conf", ptext);
FileUtils.set_contents ("/tmp/yggdrasil.conf", ptext);
Process.spawn_command_line_sync ("pkexec cp yggdrasil.conf /etc");
Process.spawn_command_line_sync ("pkexec cp /tmp/yggdrasil.conf /etc");
}
public void from_json (Entry ip) {