Files
addons/zwave/rootfs/etc/cont-init.d/novnc.sh
Franck Nijhof f3f8ac2b80 OpenZWave add-on version 0.4.0 (#1394)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
2020-06-11 11:51:17 +02:00

8 lines
359 B
Bash

#!/usr/bin/with-contenv bashio
# ==============================================================================
# Setup noVNC
# ==============================================================================
declare ingress_entry
ingress_entry=$(bashio::addon.ingress_entry)
sed -i "s#websockify#${ingress_entry#?}/websockify#g" /usr/share/novnc/vnc_lite.html