Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20021209102109.B96602@messi.uku.fi>
Date: Mon, 9 Dec 2002 10:21:09 +0200
From: Jarno Huuskonen <Jarno.Huuskonen@....fi>
To: owl-users@...ts.openwall.com
Subject: /etc/init.d/functions and Red Hat compat.


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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.