mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 10:15:41 -04:00
feat: add distro information to startup console
This commit is contained in:
@@ -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
|
||||
# #
|
||||
|
||||
Reference in New Issue
Block a user