mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-24 00:53:39 +01:00
vncserver: extract DetectEnvironment()
This commit is contained in:
parent
5f3fcddcde
commit
a2a748a582
@ -25,8 +25,7 @@
|
||||
# vncserver - wrapper script to start an X VNC server.
|
||||
#
|
||||
|
||||
$exedir = &DetectBinariesDir();
|
||||
&CheckRequiredDependenciesArePresent();
|
||||
&DetectEnvironment();
|
||||
|
||||
#
|
||||
# Global variables. You may want to configure some of these for
|
||||
@ -1038,3 +1037,8 @@ sub PrintKasmUsers {
|
||||
}
|
||||
warn "\n";
|
||||
}
|
||||
|
||||
sub DetectEnvironment {
|
||||
$exedir = &DetectBinariesDir();
|
||||
&CheckRequiredDependenciesArePresent();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user