Add OpenBSD version in computerOS field of ldap.sh

This commit is contained in:
Jérémy Dubois 2020-05-22 11:34:47 +02:00
parent 2177d43637
commit 38e5c1bf70
1 changed files with 1 additions and 1 deletions

View File

@ -5,8 +5,8 @@ dnsPTRrecord=$(hostname)
HardwareMark=$(sysctl hw.vendor| sed 's#hw.vendor=##')
HardwareModel=$(sysctl hw.product| sed 's#hw.product=##')
computerIP=$(ifconfig egress | grep inet | awk -v OFS="\n" '{ print $2, $NF }'| head -1)
computerOS=OpenBSD
computerKernel=$(sysctl kern.osrelease | sed 's#kern.osrelease=##')
computerOS=OpenBSD $computerKernel
HardwareSerial=$(sysctl hw.serialno| sed 's#hw.serialno=##')
clientNumber="XXX"
cpuMark=$(sysctl hw.model| sed 's#hw.model=##')