mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update entrypoint to exclude cont-init.d scripts
This commit is contained in:
@@ -103,7 +103,7 @@ done
|
||||
# Start run scripts in services.d and s6-overlay/s6-rc.d if PID1
|
||||
if $PID1; then
|
||||
shopt -s nullglob # Don't expand unmatched globs to themselves
|
||||
for runfile in /etc/services.d/*/run /etc/s6-overlay/s6-rc.d/*/run /etc/cont-init.d/*; do
|
||||
for runfile in /etc/services.d/*/run /etc/s6-overlay/s6-rc.d/*/run; do
|
||||
[ -f "$runfile" ] || continue
|
||||
echo "Starting: $runfile"
|
||||
apply_s6_mods "$runfile"
|
||||
|
||||
Reference in New Issue
Block a user