Add initial version of Angry IP Scanner (#71)

This commit is contained in:
Max Winterstein
2022-03-27 23:09:16 +02:00
committed by GitHub
parent 1428a90c40
commit a18be66736
17 changed files with 265 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# Configure NGINX for use with Angry IP Scanner
# ==============================================================================
ingress_entry=$(bashio::addon.ingress_entry)
sed -i "s#%%ingress_entry%%#${ingress_entry}#g" /etc/nginx/nginx.conf

View File

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