mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-01 12:13:01 +00:00
Update minimum kernel version requirement to 5.14
This commit is contained in:
parent
7b18c0a038
commit
5a37f4912d
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ glibc_ver="$(echo "$ldd_out" | head -n1 | grep -oE '[0-9]+(\.[0-9]+)+' | head -n
|
|||
[ -z "${glibc_ver:-}" ] && { echo "System is too old"; exit 1; }
|
||||
ver_ge "$glibc_ver" "2.13" || { echo "System is too old"; exit 1; }
|
||||
kernel_ver="$(uname -r | cut -d'-' -f1)"
|
||||
ver_ge "$kernel_ver" "6.13" || { echo "System is too old"; exit 1; }
|
||||
ver_ge "$kernel_ver" "5.14" || { echo "System is too old"; exit 1; }
|
||||
HERE="$(dirname "$(readlink -f "$0")")"
|
||||
cd "$HERE/usr/lib/v2rayN"
|
||||
exec "$HERE/usr/lib/v2rayN/v2rayN" "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue