mirror of
https://github.com/hassio-addons/addon-ubuntu-base.git
synced 2025-05-07 04:11:26 +00:00
✨ Adds system information to add-on banner
This commit is contained in:
parent
d3398f034f
commit
f8908e698c
1 changed files with 6 additions and 0 deletions
|
@ -15,4 +15,10 @@ if hass.api.supervisor.ping; then
|
|||
echo " From: $(hass.addon.repository)"
|
||||
echo " By: $(hass.addon.maintainer)"
|
||||
echo '-----------------------------------------------------------'
|
||||
echo -n " $(hass.api.supervisor.info.arch)" && \
|
||||
echo -n " / $(hass.api.host.info.operating_system)" && \
|
||||
echo -n " / HA $(hass.api.homeassistant.info.version)" && \
|
||||
echo -n " / SU $(hass.api.supervisor.info.version)"
|
||||
echo " / $(hass.api.supervisor.info.channel)"
|
||||
echo '-----------------------------------------------------------'
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue