Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------- [ Git diff starts here ] -------------------
- From 6e3bbd658a1b08659d8ddd1136e99c6c52cd5e95 Mon Sep 17 00:00:00 2001
- From: Kaio Rafael <opensource@kaiux.com>
- Date: Tue, 1 Mar 2016 00:49:45 -0400
- Subject: [PATCH] Added Debian GNU/kFreeBSD detection
- Signed-off-by: Kaio Rafael <opensource@kaiux.com>
- ---
- include/osdetection | 14 ++++++++++++++
- 1 file changed, 14 insertions(+)
- diff --git a/include/osdetection b/include/osdetection
- index 3786799..3ff1528 100644
- --- a/include/osdetection
- +++ b/include/osdetection
- @@ -96,6 +96,20 @@
- SYSCTL_READKEY=""
- ;;
- + #Debian GNU/kFreeBSD
- + GNU/kFreeBSD)
- + OS="FreeBSD"
- + OS_NAME="Debian GNU/kFreeBSD"
- + OS_FULLNAME=`uname -s -r`
- + OS_VERSION=`cat /etc/debian_version`
- + HARDWARE=`uname -m`
- + HOMEDIRS="/home"
- + FIND_BINARIES="whereis -b"
- + OS_KERNELVERSION_FULL=`uname -r`
- + OS_KERNELVERSION=`echo ${OS_KERNELVERSION_FULL} | sed 's/-.*//'`
- + SYSCTL_READKEY="sysctl -n"
- + ;;
- +
- # Linux
- Linux)
- OS="Linux"
- --
- 1.7.10.4
- -------- [ Git diff ends here ] -------------------
- Program version: 2.1.8
- Operating system: FreeBSD
- Operating system name: Debian GNU/kFreeBSD
- Operating system version: 9.0-2-amd64
- Kernel version: 9.0
- Hardware platform: x86_64
- Hostname: bsdebian
- Auditor: [Unknown]
- Profile: ./default.prf
- Log file: /var/log/lynis.log
- Report file: /var/log/lynis-report.dat
- Report version: 1.0
- Plugin directory: ./plugins
Add Comment
Please, Sign In to add comment