Results 1 to 2 of 2
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to ...
- 03-19-2009 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 84
rc.local not running on fedora 8
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
/sbin/modprobe ip_conntrack_irc
/sbin/modprobe ip_nat_irc
/sbin/modprobe ip_nat_ftp
/sbin/modprobe ip_conntrack_ftp
/sbin/modprobe cls_route
/sbin/modprobe ipt_MARK
/sbin/modprobe ipt_TOS
/sbin/modprobe ipt_TTL
/sbin/modprobe ipt_CLASSIFY
/sbin/modprobe ipt_helper
/sbin/modprobe ipt_ipp2p
/sbin/modprobe ipt_layer7
** i try to that command on console it's working fine. and i try to reboot server that rc.local it's not running that command.
How to!!
i try "chmod permission to 777"
lrwxrwxrwx 1 root root 13 2008-05-21 09:53 rc.local -> rc.d/rc.local
Thank you.
- 03-20-2009 #2
Looks like all these module are for iptables. Goto '/etc/sysconfig' and look at iptables-config. This is where you should be loading your modules for your firewall under IPTABLES_MODULES=. place each one on the line with a space in between them.
The next question is do you really need all this stuff loaded? If not then only load what you need.


Reply With Quote