mirror of
https://github.com/WGDashboard/WGDashboard.git
synced 2026-08-04 06:53:00 +00:00
File arrangement
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import os
|
||||
import subprocess
|
||||
try: status = subprocess.check_output("wg show wg0", shell=True)
|
||||
except Exception: print("false")
|
||||
else:print(status.decode("UTF-8"))
|
||||
Reference in New Issue
Block a user