fedora: override iptables configuration on initial installation
Otherwise Qubes-specific configuration will not be placed at all (in Fedora 21, which provide some example iptables config).
This commit is contained in:
		
							parent
							
								
									04b5bd1b0a
								
							
						
					
					
						commit
						7abc2c2779
					
				| @ -259,10 +259,10 @@ done | |||||||
| 
 | 
 | ||||||
| # Copy ip(|6)tables into place if they do not already exist in filesystem. | # Copy ip(|6)tables into place if they do not already exist in filesystem. | ||||||
| # This prevents conflict with iptables-service | # This prevents conflict with iptables-service | ||||||
| if [ ! -f '/etc/sysconfig/iptables' ]; then | if [ ! -f '/etc/sysconfig/iptables' -o $1 = 1 ]; then | ||||||
|   cp -p /usr/lib/qubes/init/iptables /etc/sysconfig/iptables |   cp -p /usr/lib/qubes/init/iptables /etc/sysconfig/iptables | ||||||
| fi | fi | ||||||
| if [ ! -f '/etc/sysconfig/ip6tables' ]; then | if [ ! -f '/etc/sysconfig/ip6tables' -o $1 = 1 ]; then | ||||||
|   cp -p /usr/lib/qubes/init/ip6tables /etc/sysconfig/ip6tables |   cp -p /usr/lib/qubes/init/ip6tables /etc/sysconfig/ip6tables | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marek Marczykowski-Górecki
						Marek Marczykowski-Górecki