1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 07:10:09 +01:00

Update wgd.sh

This commit is contained in:
Donald Zou 2024-11-12 18:01:59 +08:00
parent e963788a81
commit b61c9bfc5e

View File

@ -65,7 +65,7 @@ _determineOS(){
OS=$ID
elif [ -f /etc/redhat-release ]; then
OS="redhat"
elif [ "$(uname)" = "OpenBSD" ] && [ "$(uname)" = "7.6" ]; then
elif [ "$(uname)" = "OpenBSD" ] && [ "$(uname -r)" = "7.6" ]; then
OS="openbsd"
else
printf "[WGDashboard] %s Sorry, your OS is not supported. Currently the install script only support Debian-based, Red Hat-based OS. With experimental support for Alpine Linux.\n" "$heavy_crossmark"