Update wgd.sh

This commit is contained in:
Donald Zou 2024-11-12 17:58:51 +08:00
parent 3ef4798e09
commit e963788a81

View File

@ -65,7 +65,7 @@ _determineOS(){
OS=$ID
elif [ -f /etc/redhat-release ]; then
OS="redhat"
elif [ "$(uname)" = "OpenBSD" ]; then
elif [ "$(uname)" = "OpenBSD" ] && [ "$(uname)" = "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"