I've somehow managed to create a phantom wg0 device, and I can't seem to get rid of it. It is not affecting the operation of the vpn gateway, except that the Dashboard page sometimes shows it as "Offline" when the real wg0 device is actually online.
See the screenshots below.
How can I fix this? Any help would be greatly appreciated.
Update: I may have fixed this by updating to the new script at
https://github.com/FingerlessGlov3s/OPNsensePIAWireguard/tree/main (https://github.com/FingerlessGlov3s/OPNsensePIAWireguard/tree/main)