From 79d7554a7c66130b2c1392970da415393ba41c5c Mon Sep 17 00:00:00 2001 From: James McKenzie Date: Sun, 13 Oct 2019 01:41:06 +0100 Subject: fix up for fc30 --- INF/DSRx020.pm | 40 +++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) (limited to 'INF/DSRx020.pm') diff --git a/INF/DSRx020.pm b/INF/DSRx020.pm index 191f4bf..c68274c 100644 --- a/INF/DSRx020.pm +++ b/INF/DSRx020.pm @@ -548,10 +548,12 @@ sub view($$) { system( "echo", "java", - "-Djava.net.preferIPv4Stack=true", - "-Djava.net.useSystemProxies=false", - "-DsocksProxyVersion=4", - "-DsocksProxySet=true", + "-Djava.security.disableSystemPropertiesFile=1", +"-Djava.security.properties=/usr/local/share/inf/avocent/crypto.properties", + "-Djava.net.preferIPv4Stack=true", + "-Djava.net.useSystemProxies=false", + "-DsocksProxyVersion=4", + "-DsocksProxySet=true", "-DsocksProxyHost=" . $self->{proxy_host}, "-DsocksProxyPort=" . $self->{proxy_port}, "-cp", @@ -561,10 +563,12 @@ sub view($$) { ); system( "java", - "-Djava.net.preferIPv4Stack=true", - "-Djava.net.useSystemProxies=false", - "-DsocksProxyVersion=4", - "-DsocksProxySet=true", + "-Djava.security.disableSystemPropertiesFile=1", +"-Djava.security.properties=/usr/local/share/inf/avocent/crypto.properties", + "-Djava.net.preferIPv4Stack=true", + "-Djava.net.useSystemProxies=false", + "-DsocksProxyVersion=4", + "-DsocksProxySet=true", "-DsocksProxyHost=" . $self->{proxy_host}, "-DsocksProxyPort=" . $self->{proxy_port}, "-cp", @@ -575,7 +579,25 @@ sub view($$) { } else { - system( "java", "-cp", $cp, "com.avocent.video.Stingray", @$args ); + system( + "echo", + "java", + "-Djava.security.disableSystemPropertiesFile=1", +"-Djava.security.properties=/usr/local/share/inf/avocent/crypto.properties", + "-cp", + $cp, + "com.avocent.video.Stingray", + @$args + ); + system( + "java", + "-Djava.security.disableSystemPropertiesFile=1", +"-Djava.security.properties=/usr/local/share/inf/avocent/crypto.properties", + "-cp", + $cp, + "com.avocent.video.Stingray", + @$args + ); } } -- cgit v1.2.3