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/trunk@15678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2013-03-28 01:41:14 +00:00
parent 3d8c237a01
commit 045b83d76d

View File

@ -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);
}