Made the hostname UNIX-universal

This commit is contained in:
Mattio-cmd 2022-08-18 22:23:11 -06:00
parent 7069fdc87b
commit 228163c739
6 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ theme='style-1'
# CMDs
uptime="`uptime -p | sed -e 's/up //g'`"
host=`hostname`
host=$(uname -a | awk '{print $2}')
# Options
shutdown=' Shutdown'

View File

@ -16,7 +16,7 @@ theme='style-1'
# CMDs
uptime="`uptime -p | sed -e 's/up //g'`"
host=`hostname`
host=$(uname -a | awk '{print $2}')
# Options
shutdown=''

View File

@ -15,7 +15,7 @@ theme='style-1'
# CMDs
uptime="`uptime -p | sed -e 's/up //g'`"
host=`hostname`
host=$(uname -a | awk '{print $2}')
# Options
shutdown=''

View File

@ -15,7 +15,7 @@ theme='style-5'
# CMDs
uptime="`uptime -p | sed -e 's/up //g'`"
host=`hostname`
host=$(uname -a | awk '{print $2}')
# Options
shutdown=''

View File

@ -16,7 +16,7 @@ theme='style-1'
# CMDs
lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`"
uptime="`uptime -p | sed -e 's/up //g'`"
host=`hostname`
host=$(uname -a | awk '{print $2}')
# Options
hibernate=''

View File

@ -16,7 +16,7 @@ theme='style-1'
# CMDs
lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`"
uptime="`uptime -p | sed -e 's/up //g'`"
host=`hostname`
host=$(uname -a | awk '{print $2}')
# Options
hibernate=''