mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update ha_entrypoint.sh
This commit is contained in:
@@ -60,7 +60,7 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Start services.d
|
# Start services.d
|
||||||
if "$PID1"; then
|
if $PID1; then
|
||||||
if [ "$(ls -A /etc/services.d/*/run)" ]; then
|
if [ "$(ls -A /etc/services.d/*/run)" ]; then
|
||||||
for runfile in /etc/services.d/*/run; do
|
for runfile in /etc/services.d/*/run; do
|
||||||
if [[ -f "$runfile" ]]; then
|
if [[ -f "$runfile" ]]; then
|
||||||
@@ -90,7 +90,7 @@ fi
|
|||||||
######################
|
######################
|
||||||
|
|
||||||
# If PID 1, keep alive and manage sigterm
|
# If PID 1, keep alive and manage sigterm
|
||||||
if "$PID1"; then
|
if $PID1; then
|
||||||
echo " "
|
echo " "
|
||||||
echo -e "\033[0;32mEverything started!\033[0m"
|
echo -e "\033[0;32mEverything started!\033[0m"
|
||||||
terminate() {
|
terminate() {
|
||||||
|
|||||||
Reference in New Issue
Block a user