mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-27 18:43:45 +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