mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 21:34:06 +02:00
Github bot : script beautyshied
This commit is contained in:
@@ -68,13 +68,13 @@ trim() {
|
|||||||
# Print each value of the array by using the loop
|
# Print each value of the array by using the loop
|
||||||
for val in "${strarr[@]}";
|
for val in "${strarr[@]}";
|
||||||
do
|
do
|
||||||
#Removes whitespaces
|
#Removes whitespaces
|
||||||
val="$(trim "$val")"
|
val="$(trim "$val")"
|
||||||
echo " "
|
echo " "
|
||||||
bashio::log.info "Starting the app with arguments \"$val\""
|
bashio::log.info "Starting the app with arguments \"$val\""
|
||||||
echo " "
|
echo " "
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
echo "$val" | xargs docker-entrypoint.sh || true
|
echo "$val" | xargs docker-entrypoint.sh || true
|
||||||
done
|
done
|
||||||
|
|
||||||
bashio::log.info "All actions concluded, addon will stop in 10 seconds"
|
bashio::log.info "All actions concluded, addon will stop in 10 seconds"
|
||||||
|
|||||||
Reference in New Issue
Block a user