Merge remote-tracking branch 'origin/master' into kiauh-rework

This commit is contained in:
th33xitus
2021-01-25 19:01:55 +01:00
9 changed files with 11 additions and 17 deletions

View File

@@ -56,4 +56,4 @@ server {
location /webcam/ {
proxy_pass http://mjpgstreamer/;
}
}
}

View File

@@ -56,4 +56,4 @@ server {
location /webcam/ {
proxy_pass http://mjpgstreamer/;
}
}
}

View File

@@ -10,4 +10,4 @@ upstream mjpgstreamer {
#edit your webcam port here
ip_hash;
server 127.0.0.1:8080;
}
}

View File

@@ -1,7 +1,3 @@
##############################################################################################
#********************************************************************************************#
##############################################################################################
### base variables
SYSTEMDDIR="/etc/systemd/system"
DWC_ENV="${HOME}/dwc-env"

View File

@@ -115,7 +115,7 @@ MULTI_STARTSCRIPT
create_minimal_printer_cfg(){
/bin/sh -c "cat > $1" << MINIMAL_CFG
[mcu]
serial: /dev/serial/by-id/
serial: /dev/serial/by-id/<put-in-mcu-id>
[pause_resume]
[display_status]

6
scripts/install_klipperscreen.sh Normal file → Executable file
View File

@@ -30,7 +30,11 @@ python3_check(){
}
system_check_klipperscreen(){
[ ! -e $klipper_cfg_loc/KlipperScreen.log ] && KLIPPERSCREEN_SL_FOUND="false"
if [ ! -e ${HOME}/klipper_config/KlipperScreen.log ]; then
KLIPPERSCREEN_SL_FOUND="false"
else
KLIPPERSCREEN_SL_FOUND="true"
fi
}
get_user_selections_klipperscreen(){

View File

@@ -1,7 +1,3 @@
##############################################################################################
#********************************************************************************************#
##############################################################################################
### base variables
SYSTEMDDIR="/etc/systemd/system"
MOONRAKER_ENV="${HOME}/moonraker-env"

View File

@@ -1,7 +1,3 @@
##############################################################################################
#********************************************************************************************#
##############################################################################################
### base variables
SYSTEMDDIR="/etc/systemd/system"
OCTOPRINT_ENV="${HOME}/OctoPrint"

View File

@@ -2,6 +2,8 @@ update_kiauh(){
if [ "$KIAUH_UPDATE_AVAIL" = "true" ]; then
status_msg "Updating KIAUH ..."
cd ${HOME}/kiauh
### force reset kiauh before updating
git reset --hard
git pull && ok_msg "Update complete! Please restart KIAUH."
exit -1
fi