I got bash script from internet for for Running the Clamav Antivirus in Demon mode.
But am getting the below error.
Can't open /etc/rc.d/init.d/functions
I checked /etc/rc.d/init.d/ directory there is no file named functions.
Mine is Ubuntu 12.04
My script is
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
[ -x /usr/local/sbin/clamd ] || exit 0
.....
Any idea?
/lib/lsb/init-functions, but see my answer below. – Frantique Sep 21 '12 at 12:42