Update util.sh

This commit is contained in:
2024-08-04 15:37:12 -05:00
parent 1d135ce7a1
commit c3389ba97c

View File

@@ -28,8 +28,8 @@ has-space () {
get_settings() {
#Get octodocker_deploy settings, all of which are written on system prepare
if [ -f /etc/octodocker_deploy ]; then
OCTOEXEC=/usr/local/bin/octoprint
OCTOPIP=/usr/local/bin/pip
#OCTOEXEC=/usr/local/bin/octoprint
#OCTOPIP=/usr/local/bin/pip
STREAMER=$(cat /etc/octodocker_deploy | sed -n -e 's/^streamer: \(\.*\)/\1/p')
HAPROXY=$(cat /etc/octodocker_deploy | sed -n -e 's/^haproxy: \(\.*\)/\1/p')
fi
@@ -405,5 +405,5 @@ diagnostics() {
main_menu
}
command_exists() { command -v "$@" > /dev/null 2>&1 }
join_by() { local IFS="$1"; shift; echo "$*"; }
# command_exists() { command -v "$@" > /dev/null 2>&1 }
# join_by() { local IFS="$1"; shift; echo "$*"; }