mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01:00
Remove s6
This commit is contained in:
@@ -66,6 +66,12 @@ mkdir -p /var/log/nginx && touch /var/log/nginx/error.log
|
||||
|
||||
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::fs.file_exists "/data/noauth"; then
|
||||
rm /data/auth &> /dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user