mirror of
1
0
Fork 0

simple fix for uptime to work in FreeBSD

This commit is contained in:
Joachim Werner 2019-10-30 16:43:04 +01:00
parent 01c91ba523
commit c949dad3a1
1 changed files with 1 additions and 1 deletions

View File

@ -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)
# ;;