fixed ip from offline installations
This commit is contained in:
parent
4b04794c5f
commit
b3c04888ed
|
@ -164,7 +164,6 @@ public static partial class Db
|
||||||
{
|
{
|
||||||
var serial = details.Details.MachineSerial() ?? "Unknown";
|
var serial = details.Details.MachineSerial() ?? "Unknown";
|
||||||
|
|
||||||
//Todo this seems to be broken? Need to test on Server...
|
|
||||||
if (serial != "Unknown" && FILE.Exists($@"/etc/openvpn/server/Salino/ccd/{serial}"))
|
if (serial != "Unknown" && FILE.Exists($@"/etc/openvpn/server/Salino/ccd/{serial}"))
|
||||||
lookup = FILE.ReadAllText($@"/etc/openvpn/server/Salino/ccd/{serial}").Split(' ')[1];
|
lookup = FILE.ReadAllText($@"/etc/openvpn/server/Salino/ccd/{serial}").Split(' ')[1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue