mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-30 16:37:40 +01: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
|
||||
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) #
|
||||
##########################################
|
||||
|
||||
Reference in New Issue
Block a user