mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Merge pull request #1475 from Constacalm/patch-altlinux-name-checking
Update osdetection (ALT Linux)
This commit is contained in:
commit
e8facbdf35
@ -160,6 +160,11 @@
|
||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"altlinux")
|
||||
LINUX_VERSION="ALT Linux"
|
||||
OS_NAME="altlinux"
|
||||
OS_VERSION=$(grep "^ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"amzn")
|
||||
LINUX_VERSION="Amazon Linux"
|
||||
OS_NAME="Amazon Linux"
|
||||
|
Loading…
x
Reference in New Issue
Block a user