mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	fix for bug 3446: add 69 into ports list, chkconfig SuSEfirewall2_init on
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -6,7 +6,7 @@ use Getopt::Long; | ||||
| Getopt::Long::Configure("bundling"); | ||||
| $Getopt::Long::ignorecase = 0; | ||||
|  | ||||
| my @allowed_ports = ("22", "53", "80", "443", "873", "3001", "3002"); | ||||
| my @allowed_ports = ("22", "53", "69", "80", "443", "873", "3001", "3002"); | ||||
|  | ||||
| if(scalar(@ARGV) == 0) | ||||
| { | ||||
| @@ -128,6 +128,8 @@ elsif (-f "/etc/SuSE-release") | ||||
|     system($cmd); | ||||
|  | ||||
|     # SuSEfirewall2_setup should be stared on reboot | ||||
|     $cmd = "chkconfig SuSEfirewall2_init on"; | ||||
|     system($cmd); | ||||
|     $cmd = "chkconfig SuSEfirewall2_setup on"; | ||||
|     system($cmd); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user