diff options
author | Zach Crownover <zachary.crownover@gmail.com> | 2016-11-19 15:39:57 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-11-19 15:39:57 +0300 |
commit | 659d3e42c5dcc6a60dff5f1e2301064132d98c45 (patch) | |
tree | a7f30b0e5654ca25c99cd722ec549fc6c06a3979 /include/functions | |
parent | 483a45e50684ae80edc278f685ea28a390a2047f (diff) |
Improve DragonFly support (#329)
* Update facter location for BSDs
BSDs tend to place third party binaries in /usr/local rather than /usr
* Add support for DragonFly boot loader detection
DragonFly BSD has the same file paths for the bootloader as FreeBSD
* Add kernel module checking for DragonFly
DragonFly BSD checks kernel modules the same way as FreeBSD
* Add DragonFly check for login shells
DragonFly's login files are the same as FreeBSD's
* Add HAMMER PFS Detection
All PFS mounts in HAMMER systems for DragonFly will be detected now
Diffstat (limited to 'include/functions')
-rw-r--r-- | include/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions b/include/functions index 544fb52c..49e03eaa 100644 --- a/include/functions +++ b/include/functions @@ -1254,7 +1254,7 @@ # facter if [ "${SHORT}" = "" ]; then - if [ -x /usr/bin/facter ]; then + if [ -x /usr/bin/facter ] || [ -x /usr/local/bin/facter ]; then case "`facter is_virtual`" in "true") SHORT=`facter virtual` |