mirror of
https://github.com/mtan93/hass-addons.git
synced 2026-03-08 21:02:30 +00:00
123
This commit is contained in:
15
addon-example-main/example/rootfs/usr/bin/example2.sh
Executable file
15
addon-example-main/example/rootfs/usr/bin/example2.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Example
|
||||
#
|
||||
# Example add-on for Home Assistant.
|
||||
# ------------------------------------------------------------------------------
|
||||
main() {
|
||||
bashio::log.trace "${FUNCNAME[0]}"
|
||||
|
||||
while true; do
|
||||
echo "Second Script Output"
|
||||
sleep 10
|
||||
done
|
||||
}
|
||||
main "$@"
|
||||
Reference in New Issue
Block a user