/etc/init.d/functions and Red Hat compat.

From: Jarno Huuskonen (Jarno.Huuskonen@private)
Date: Mon Dec 09 2002 - 00:21:09 PST


Hi,

I noticed a very minor compatibility issue with /etc/init.d/functions
and Red Hat initscripts. Some Red Hat package initscripts
(eg. squid errata package) use echo_success / echo_failure when
starting/stopping daemons (AFAIK these just print the green OK/red
FAILURE).

Owl functions doesn't have these two functions, so the
initscript complains about missing function.

Something like this should be sufficient:
echo_success() {
	echo "success"
}

echo_failure() {
	echo "failure"
}

-Jarno

-- 
Jarno Huuskonen



This archive was generated by hypermail 2.1.3 : Sun Jan 15 2006 - 13:43:17 PST