mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-04 21:23:31 +03:00
Add support for Kali Rolling 2022
This commit is contained in:
parent
c0a3562f64
commit
2d58be7da4
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ if grep -qs "ubuntu" /etc/os-release; then
|
|||
os="ubuntu"
|
||||
os_version=$(grep 'VERSION_ID' /etc/os-release | cut -d '"' -f 2 | tr -d '.')
|
||||
group_name="nogroup"
|
||||
elif grep -qs "kali" /etc/os-release; then
|
||||
os="debian"
|
||||
os_version=11
|
||||
group_name="nogroup"
|
||||
elif [[ -e /etc/debian_version ]]; then
|
||||
os="debian"
|
||||
os_version=$(grep -oE '[0-9]+' /etc/debian_version | head -1)
|
||||
|
|
Loading…
Add table
Reference in a new issue