On Fri, Apr 01, 2005 at 08:18:56PM +0200, Wouter van Heyst wrote: > On Fri, Apr 01, 2005 at 08:16:58PM +0200, Bastian Blank wrote: > > I must say, that the Gentoo-Way looks better than this. > What is the Gentoo-Way?
| opts="depend checkconfig start stop reload" | | depend() { | # Make networking dependency conditional on configuration | case $(sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf) in | *source*tcp*|*source*udp*|*destination*tcp*|*destination*udp*) | need net ;; | esac | | need clock hostname | provide logger | } [...] | start() { [...] | } Bastian -- Immortality consists largely of boredom. -- Zefrem Cochrane, "Metamorphosis", stardate 3219.8
signature.asc
Description: Digital signature