rc.local default value
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:
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!
#!/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.plI 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!
-
Hello :) The default entries are: #!/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.0 -
Many thank you for reply. It was very important for me. Best regards! 0
Please sign in to leave a comment.
Comments
2 comments