Print MacOS version
This commit is contained in:
parent
4e34ffaced
commit
200ba62653
1 changed files with 4 additions and 0 deletions
|
@ -262,6 +262,10 @@ usermotd () {
|
|||
then
|
||||
echo " $(. /etc/os-release; echo $NAME $VERSION)"
|
||||
fi
|
||||
if [ "x$(uname -s)" == "xDarwin" ]
|
||||
then
|
||||
echo " $(sw_vers -productName) $(sw_vers -productVersion)"
|
||||
fi
|
||||
uptime
|
||||
echo "LANG=$LANG"
|
||||
if [ -n "$TZ" ]
|
||||
|
|
Loading…
Reference in a new issue