Replace hardcoded path with var

This commit is contained in:
billz 2020-03-25 23:00:26 +00:00
parent 37adaf2cd0
commit 9592104190

View file

@ -51,6 +51,6 @@ done
if [ "$added" = true ]; then
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