diff options
Diffstat (limited to 'updater.lua')
-rw-r--r-- | updater.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/updater.lua b/updater.lua index 3baa229..6c13314 100644 --- a/updater.lua +++ b/updater.lua @@ -77,7 +77,11 @@ if tools then end if vpn then Install("luci-app-openvpn", "openvpn-openssl") - Install("luci-app-wireguard", "wireguard") + if version_match(os_release.VERSION, ">= 6.0.0") then + Install("luci-app-wireguard", "wireguard-tools") + else + Install("luci-app-wireguard", "wireguard") + end end if bigclown then Install("bigclown-gateway", "bigclown-mqtt2influxdb", "bigclown-control-tool") |