mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-04 13:56:51 +00:00
update init for containers for recent changes
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# execute other init processes
|
||||
INITS="$(find /etc/init.d -type f | sort)"
|
||||
INITS="$(find /etc/init.d ! -type d 2>/dev/null | sort)"
|
||||
for f in $INITS
|
||||
do
|
||||
$f &
|
||||
$f
|
||||
done
|
||||
|
||||
wait
|
||||
# wait forever to keep container open
|
||||
while true; do sleep 2147483647; done
|
||||
|
||||
Reference in New Issue
Block a user