mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Fix: /etc/iptables/ dir absent on Raspbian
This commit is contained in:
		| @@ -281,8 +281,8 @@ function default_configuration() { | ||||
|     fi | ||||
|  | ||||
|     echo "Enabling persistent IP tables rules" | ||||
|     if [ ! -f "/etc/iptables/iptables.rules" ]; then | ||||
|         sudo cp "$webroot_dir/installers/iptables.rules" /etc/iptables || install_error "Unable to move iptables.rules to /etc/iptables" | ||||
|     if [ ! -f "/etc/iptables.raspap.rules" ]; then | ||||
|         sudo cp "$webroot_dir/installers/iptables.rules" /etc/iptables.raspap.rules || install_error "Unable to move iptables.rules" | ||||
|     fi | ||||
|  | ||||
|     if [ ! -f "/etc/systemd/system/iptables.service" ]; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user