mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 21:34:06 +02:00
Remove standalone mode handling in ha_entrypoint.sh
Removed standalone mode check for bashio commands.
This commit is contained in:
@@ -2,16 +2,6 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
######################################
|
|
||||||
# Accept running without supervisor #
|
|
||||||
######################################
|
|
||||||
|
|
||||||
if ! bashio::supervisor.ping 2> /dev/null; then
|
|
||||||
bashio::log.warning "Using standalone mode to run bashio commands without HA supervisor"
|
|
||||||
mv /usr/local/lib/bashio-standalone.sh /usr/bin/bashio
|
|
||||||
chmod +x /usr/bin/bashio
|
|
||||||
fi
|
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# Detect if this is PID1 (main process) #
|
# Detect if this is PID1 (main process) #
|
||||||
##########################################
|
##########################################
|
||||||
|
|||||||
Reference in New Issue
Block a user