36 lines
725 B
Plaintext
36 lines
725 B
Plaintext
|
print_info() {
|
||
|
echo -e "\n"
|
||
|
|
||
|
prin "$(color 1)Welcome to Alpine - ZeroDownTime edition"
|
||
|
echo
|
||
|
prin "Release Notes:"
|
||
|
prin " - <https://kubezero.com/releases/>"
|
||
|
prin " - <https://alpinelinux.org/releases/>"
|
||
|
echo
|
||
|
|
||
|
info title
|
||
|
info underline
|
||
|
|
||
|
info "OS" distro
|
||
|
info "Host" model
|
||
|
info "Kernel" kernel
|
||
|
info "Uptime" uptime
|
||
|
# info "Packages" packages
|
||
|
info "CPU" cpu
|
||
|
info "GPU" gpu
|
||
|
info "Memory" memory
|
||
|
|
||
|
info "GPU Driver" gpu_driver # Linux/macOS only
|
||
|
info "CPU Usage" cpu_usage
|
||
|
info "Local IP" local_ip
|
||
|
info "Disk" disk
|
||
|
|
||
|
info underline
|
||
|
}
|
||
|
|
||
|
title_fqdn="off"
|
||
|
memory_percent="on"
|
||
|
colors=(1 2 15 15 15 15)
|
||
|
image_source="/etc/neofetch-logo.txt"
|
||
|
gap=0
|