/tmp/yggdrasil.conf
nickey
This commit is contained in:
parent
fa61015e18
commit
caa4ac4496
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user