Update iptables.rules naming for consistency

This commit is contained in:
billz 2020-03-20 07:48:24 +00:00
parent 4b30be5c54
commit f6599ae815

View file

@ -288,8 +288,8 @@ function default_configuration() {
fi
echo "Applying persistent IP tables rules"
if [ ! -f "/etc/iptables/raspap.iptables" ]; then
sudo cp $webroot_dir/installers/raspap.iptables /etc/iptables
if [ ! -f "/etc/iptables/iptables.rules" ]; then
sudo cp $webroot_dir/installers/iptables.rules /etc/iptables
fi
if [ ! -f "/etc/systemd/system/iptables.service" ]; then