I recall when I was running FreeBSD 11, the patch I provided worked.
It does work fine under FreeBSD12 and weewx-3.9.1 Server uptime 21 days, 17 hours, 26 minutes WeeWX uptime 0 days, 15 hours, 0 minutes On Thursday, April 11, 2019 at 2:23:58 PM UTC-7, Jon Marnock wrote: > > Would it be better to just use something more generic like uptime(1) and > parse the output? > > Jon > > On Fri, 12 Apr 2019 at 12:16 am, Greg Troxel <g...@lexort.com > <javascript:>> wrote: > >> I meant to get the os name and switch on that, and only try methods >> appropriate for that os. >> > -- > ___________________ > Jon Marnock > jon....@gmail.com <javascript:> >