mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 17:10:26 +00:00
4 lines
No EOL
184 B
Python
4 lines
No EOL
184 B
Python
import subprocess
|
|
|
|
def firewall_rules():
|
|
return subprocess.run("cat /etc/raspap/networking/firewall/iptables_rules.json", shell=True, capture_output=True, text=True).stdout.strip() |