Update command print uptime in log

fc-sub
Alan Johnston 7 months ago committed by GitHub
parent 475d3c468e
commit 443ba3ad57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -38,7 +38,7 @@ fi
uptime=`cat /proc/uptime | awk '{printf "%0.f", $1}'` uptime=`cat /proc/uptime | awk '{printf "%0.f", $1}'`
echo -n "Uptime since boot is " echo -n "Uptime since boot is "
echo $value echo $uptime
if [[ "$uptime" -lt "60" ]]; then if [[ "$uptime" -lt "60" ]]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.