Find the answer to your Linux question:
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 ...
  1. #1
    Just 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.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    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.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...