Commit 9158a27
committed
Rely on `uname' output for *BSD os decection
uname may be used to reliably detect most *BSD OSes (namely FreeBSD,
NetBSD, OpenBSD, DragonFly), so use it. Otherwise it falls back to
/var/run/dmesg.boot, which is not always available (e.g. jails) and
is not as reliable anyway.1 parent b05d09e commit 9158a27
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
585 | | - | |
586 | | - | |
587 | | - | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
588 | 593 | | |
589 | 594 | | |
590 | 595 | | |
| |||
0 commit comments