mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-05 15:15:58 +02:00
Remove s6
This commit is contained in:
@@ -66,6 +66,12 @@ mkdir -p /var/log/nginx && touch /var/log/nginx/error.log
|
|||||||
|
|
||||||
NOAUTH=""
|
NOAUTH=""
|
||||||
|
|
||||||
|
# Prevent conflicts
|
||||||
|
for folders in /etc/services.d /etc/s6-overlay; do
|
||||||
|
[[ -d "$folders" ]] && rm -r "$folders"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Disable authentification
|
||||||
if bashio::config.true 'NoAuth'; then
|
if bashio::config.true 'NoAuth'; then
|
||||||
if ! bashio::fs.file_exists "/data/noauth"; then
|
if ! bashio::fs.file_exists "/data/noauth"; then
|
||||||
rm /data/auth &> /dev/null || true
|
rm /data/auth &> /dev/null || true
|
||||||
|
|||||||
Reference in New Issue
Block a user