update var NUMBER_USERS_CONNECTED mymotd
This commit is contained in:
parent
98b618cb03
commit
87f9449cae
|
@ -7,7 +7,7 @@ LAST_LOGIN_USER=$(lastlog | tail -n 1 | awk '{print $1}')
|
|||
LAST_LOGIN_TIME_HOUR=$(lastlog | tail -n 1 | awk '{print $4" "$5" "$6" "$7}')
|
||||
LAST_LOGIN_IP_FROM_USER=$(lastlog | tail -n 1 | awk '{print $3}')
|
||||
UPTIME_SYSTEM=$(uptime -p | tr -d ',')
|
||||
NUMBER_USERS_CONNECTED=$(uptime | awk '{print $6}' | tr -d ",")
|
||||
NUMBER_USERS_CONNECTED=$(uptime | awk '{print $4" "$5}' | tr -d ",")
|
||||
LIST_USERS_CONNECTED=$(w | tail -n +2)
|
||||
KERNEL=$(uname -r)
|
||||
PACKAGES=$(dpkg -l | tail -n +6 | wc -l)
|
||||
|
|
Loading…
Reference in New Issue