diff options
Diffstat (limited to 'INF/DSRx020.pm')
-rw-r--r-- | INF/DSRx020.pm | 40 |
1 files changed, 31 insertions, 9 deletions
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 + ); } } |