Revert "Added network settings handler for linux"

This reverts commit a327abc4c2.
This commit is contained in:
Omer
2019-09-21 18:33:00 +03:00
parent a327abc4c2
commit d94ac908ec
5 changed files with 2 additions and 80 deletions

View File

@@ -20,15 +20,8 @@ public class SettingsManager {
private SettingsManager() {}
public static void initialize() {
public static void intialize() {
initGeneralSettings();
NetworkSettings netSettings = new NetworkSettings();
netSettings.hostname=GeneralSettings.hostname;
netSettings.gateway=GeneralSettings.gateway;
netSettings.netmask=GeneralSettings.netmask;
netSettings.connectionType=GeneralSettings.connection_type;
netSettings.ip=GeneralSettings.ip;
netSettings.run();
var allCameras = CameraManager.getAllCamerasByName();
if (!allCameras.containsKey(GeneralSettings.curr_camera) && allCameras.size() > 0) {