mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-15 11:59:11 +02:00
Conditionally apply s6 mods based on PID1
This commit is contained in:
@@ -82,7 +82,9 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Apply s6 compatibility tweaks
|
# Apply s6 compatibility tweaks
|
||||||
apply_s6_mods "$SCRIPTS"
|
if $PID1; then
|
||||||
|
apply_s6_mods "$SCRIPTS"
|
||||||
|
fi
|
||||||
|
|
||||||
# Optionally use 'source' to share env variables, when requested
|
# Optionally use 'source' to share env variables, when requested
|
||||||
if [ "${ha_entry_source:-null}" = true ]; then
|
if [ "${ha_entry_source:-null}" = true ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user