Merge branch 'klipper_dev' of https://github.com/fredrikbaberg/ha-3dprinter-addons into klipper_dev
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Add-on: 3dprinter-remote
|
||||
# Setup ser2net.conf
|
||||
# ==============================================================================
|
||||
|
||||
# Generate ser2net configuration
|
||||
bashio::var.json \
|
||||
printer_path "$(bashio::config 'printer_path')" \
|
||||
printer_baudrate "$(bashio::config 'printer_baudrate')" \
|
||||
ser2net_args "$(bashio::config 'ser2net_args')" \
|
||||
| tempio \
|
||||
-template /usr/share/tempio/ser2net/ser2net.conf.gtpl \
|
||||
-out /etc/ser2net.conf
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Add-on: 3dprinter-remote
|
||||
# Setup ser2net.conf
|
||||
# ==============================================================================
|
||||
|
||||
# Generate ser2net configuration
|
||||
bashio::var.json \
|
||||
printer_path "$(bashio::config 'printer_path')" \
|
||||
printer_baudrate "$(bashio::config 'printer_baudrate')" \
|
||||
ser2net_args "$(bashio::config 'ser2net_args')" \
|
||||
| tempio \
|
||||
-template /usr/share/tempio/ser2net/ser2net.conf.gtpl \
|
||||
-out /etc/ser2net.conf
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Add-on: mjpg-streamer
|
||||
# Take down the S6 supervision tree when mjpg-streamer fails
|
||||
# ==============================================================================
|
||||
if -n { s6-test $# -ne 0 }
|
||||
if -n { s6-test ${1} -eq 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Add-on: mjpg-streamer
|
||||
# Take down the S6 supervision tree when mjpg-streamer fails
|
||||
# ==============================================================================
|
||||
if -n { s6-test $# -ne 0 }
|
||||
if -n { s6-test ${1} -eq 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Add-on: 3dprinter-remote
|
||||
# Runs ser2net
|
||||
# ==============================================================================
|
||||
|
||||
bashio::log.info "Starting ser2net.."
|
||||
|
||||
exec ser2net -d
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Add-on: 3dprinter-remote
|
||||
# Runs ser2net
|
||||
# ==============================================================================
|
||||
|
||||
bashio::log.info "Starting ser2net.."
|
||||
|
||||
exec ser2net -d
|
||||
|
||||
Reference in New Issue
Block a user