abbiefetch/kernel_info.5

10 lines
227 B
Groff
Raw Permalink Normal View History

2024-11-12 17:53:59 +00:00
if [ -n "$(uname -r)" ] && [ -z "$kernel" ]; then
kernel="$(uname -s) $(uname -r)"
fi
if [ -n "$(uname -s)" ] && [ -z "$kernel" ]; then
kernel="$(uname -s)"
fi
if [ "$system_type" = "illumos" ]; then
kernel="$(uname -v)"
fi