The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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