simple fix for uptime to work in FreeBSD
This commit is contained in:
parent
01c91ba523
commit
c949dad3a1
|
@ -599,7 +599,7 @@ run -b '[ -z "#{session_id}" ] && [ -z "#{version}" ] && tmux set display-time 3
|
|||
#
|
||||
# _uptime() {
|
||||
# case $(uname -s) in
|
||||
# *Darwin*)
|
||||
# *Darwin*|*FreeBSD*)
|
||||
# boot=$(sysctl -q -n kern.boottime | awk -F'[ ,:]+' '{ print $4 }')
|
||||
# now=$(date +%s)
|
||||
# ;;
|
||||
|
|
Loading…
Reference in New Issue