Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

rc.local default value

Discussion in 'General Discussion' started by joomla, Sep 15, 2014.

  1. joomla

    joomla Well-Known Member

    Joined:
    Jul 23, 2014
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    I use latest WHM and cPanel on CentOS upgraded on CloudLinux 6.5. Apache 2.2, PHP 5.4, MySQl 5.5.

    I installed today some backup plugin and ater uninstalling it I found content that is not a part of /etc/rc.local file

    I have now:

    Code:
    #!/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
    /scripts/rdate &
    [ -x /robot.sh ] && /robot.sh
    inotifywait -d -e moved_to -e create -e modify -r /home/ --outfile /usr/local/cpanel/whostmgr/docroot/cgi/aast_ultimate_backup/inotify --exclude aast_backup
    /usr/local/cpanel/whostmgr/docroot/cgi/aast_ultimate_backup/aast_backupdemon.pl
    I got message from csf that that file did not pass md5 comparison test, and I would like to set default values as I will not use that plugin anymore.

    Kind regards! And many thanks for time and wish to help me!
     
    #1 joomla, Sep 15, 2014
    Last edited by a moderator: Sep 16, 2014
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,400
    Likes Received:
    1,952
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    The default entries are:

    Code:
    #!/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
    /scripts/rdate &
    You can remove the remaining entries that are related to your third-party plugin if you prefer.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. joomla

    joomla Well-Known Member

    Joined:
    Jul 23, 2014
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Many thank you for reply. It was very important for me.

    Best regards!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice