mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
initial install test
This commit is contained in:
4
api/modules/firewall.py
Normal file
4
api/modules/firewall.py
Normal file
@@ -0,0 +1,4 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user