add 'up' for whether a interface is up or down

This commit is contained in:
sewn
2024-03-16 00:20:54 +03:00
committed by drkhsh
parent b6267f7d0b
commit af508f0b4c
3 changed files with 28 additions and 0 deletions

View File

@ -56,6 +56,7 @@ static const char unknown_str[] = "n/a";
* thermal zone on FreeBSD
* (tz0, tz1, etc.)
* uid UID of current user NULL
* up interface is running interface name (eth0)
* uptime system uptime NULL
* username username of current user NULL
* vol_perc OSS/ALSA volume in percent mixer file (/dev/mixer)