Re: creating script for init.d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

 
2006/12/19, Ralph Angenendt <ra+centos@xxxxxxxxxxxx>:
Linux Man wrote:
>
>    I'm not using "su".
>    I don't know how can I do!

Ah, you're doing fine. No need in telling us the error you get, no need
in showing us (at least the part of) the script which doesn't work -
Well, that'll sure generate *lots* of help.

Anyone in need of a crystal ball?

Setting up Shoppe,

Ralph
--
Ralph Angenendt......ra@xxxxxxxxxxxx | .."Text processing has made it possible
Bayerischer Rundfunk...80300 München | ....to right-justify any idea, even one
Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any other
Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, USC


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux