mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Replace hardcoded path with var
This commit is contained in:
parent
37adaf2cd0
commit
9592104190
@ -51,6 +51,6 @@ done
|
|||||||
|
|
||||||
if [ "$added" = true ]; then
|
if [ "$added" = true ]; then
|
||||||
echo "Persisting IP tables rules"
|
echo "Persisting IP tables rules"
|
||||||
sudo iptables-save | sudo tee /etc/iptables/rules.v4 > /dev/null
|
sudo iptables-save | sudo tee $rulesv4 > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user