> -----Original Message----- > From: centos-bounces@xxxxxxxxxx > [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Linux Man > Sent: Tuesday, December 19, 2006 11:40 PM > To: CentOS mailing list > Subject: Re: creating script for init.d > > Sorry, i sent the spript to as particular adress but not for > the adress that I wanted (all centos mailing list), again, sorry > > If I execute it in a terminal as root, works, without > problem, but if i put it to load a boot time (with chkconfig) > there isn't a visual error, just hang. > > Using "echo" I isolate, ther problematic part, this is: > > > #Flush everything, start from scratch > > $IPTABLES -F > > $IPTABLES -F -t mangle > > $IPTABLES -F -t nat > > $IPTABLES -X > > $IPTABLES -X -t mangle > > $IPTABLES -X -t nat > > > > #Set default policies to DROP > > $IPTABLES -P INPUT DROP > > $IPTABLES -P OUTPUT DROP > > $IPTABLES -P FORWARD DROP > > Why hangs? any idea? > Thanks a lot > Is there any message that appears in /var/log/messages? What happens if you just press the <ENTER> key when it hangs? Michael _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos