21 lines
404 B
Groff
21 lines
404 B
Groff
if [ "$subtype" = "none" ]; then
|
|
echo "$username@$hostname ($system_type)"
|
|
else
|
|
echo "$username@$hostname ($system_type/$subtype)"
|
|
fi
|
|
echo
|
|
if [ -n "$processor" ]; then
|
|
echo "cpu: $processor"
|
|
fi
|
|
if [ -n "$graphics" ]; then
|
|
echo "gpu: $graphics"
|
|
fi
|
|
if [ -n "$kernel" ]; then
|
|
echo "krn: $kernel"
|
|
fi
|
|
if [ -n "$distro" ]; then
|
|
echo "sys: $distro"
|
|
fi
|
|
if [ -n "$machine" ]; then
|
|
echo "mac: $machine"
|
|
fi
|