mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-28 02:53:41 +01:00
Refactor easy start script
This commit is contained in:
parent
3584d8c3cb
commit
66d999beaf
@ -85,6 +85,10 @@ de_name_from_number() {
|
||||
de_name=${numbered_desktop_environments[$de_number_to_run]}
|
||||
}
|
||||
|
||||
setup_de_to_run_via_xstartup() {
|
||||
generate_xstartup "$de_name"
|
||||
}
|
||||
|
||||
generate_xstartup() {
|
||||
local de_name="$1"
|
||||
|
||||
@ -130,10 +134,6 @@ if [[ "$action" = "kill" ]]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
setup_de_to_run_via_xstartup() {
|
||||
generate_xstartup "$de_name"
|
||||
}
|
||||
|
||||
detect_desktop_environments
|
||||
ask_user_to_choose_de
|
||||
debug "You selected $de_name desktop environment"
|
||||
|
Loading…
Reference in New Issue
Block a user