reorganize iptables clear and make sure use_nova_chains is a boolean
This commit is contained in:
		| @@ -48,15 +48,15 @@ if [ "$CMD" == "clear" ]; then | ||||
|     iptables -P FORWARD ACCEPT | ||||
|     iptables -P OUTPUT ACCEPT | ||||
|     iptables -F | ||||
|     iptables -t nat -F | ||||
|     iptables -F nova_input | ||||
|     iptables -F nova_output | ||||
|     iptables -F nova_forward | ||||
|     iptables -X | ||||
|     iptables -t nat -F | ||||
|     iptables -t nat -F nova_input | ||||
|     iptables -t nat -F nova_output | ||||
|     iptables -t nat -F nova_forward | ||||
|     iptables -t nat -X | ||||
|     iptables -X | ||||
| fi | ||||
|  | ||||
| if [ "$CMD" == "base" ] || [ "$CMD" == "all" ]; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Vishvananda Ishaya
					Vishvananda Ishaya