feat: add distro information to startup console

This commit is contained in:
2025-06-11 17:27:52 -07:00
parent 34cc9789eb
commit ccab0685d0
2 changed files with 19 additions and 1 deletions

View File

@@ -78,12 +78,17 @@ declare -A icon=(
)
# #
# define > system
# distro info
# #
sys_os_ver="1.0.0"
sys_os_name="Unknown"
if [ -e /etc/alpine-release ]; then
sys_os_name="Alpine"
sys_os_ver="$(cat /etc/alpine-release)"
fi
# #
# s6 > store env variables
# #