Gentoo Archives: gentoo-dev

From: Daniel Robbins <drobbins@g.o>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] rc-update and /etc/rc.d/config/functions
Date: Mon, 03 Sep 2001 22:52:38
Message-Id: 20010903225238.I20781@cvs.gentoo.org
In Reply to: Re: [gentoo-dev] rc-update and /etc/rc.d/config/functions by Ben Beuchler
1 On Mon, Sep 03, 2001 at 10:27:08PM -0500, Ben Beuchler wrote:
2
3 > ================
4 > mazer openssh # emerge openssh-2.9_p2-r2.ebuild
5 > Calculating dependencies.
6 >
7 > !!! Portage had a problem processing this file:
8 > !!! /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild
9 >
10 > /usr/sbin/ebuild.sh: /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild:
11 > line 57: syntax error near unexpected token `}'
12 > /usr/sbin/ebuild.sh: /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild:
13 > line 57: `}'
14
15 OK, openssh-2.9_p2-r2 had yet another bug (empty function, thanks to commenting)
16 out a line, and bash doesn't like empty functions. Now fixed on rsync and cvs.
17
18 > What is the current status with init scripts? I understand they're in
19 > considerable flux these days. For example, which location is correct for the
20 > 'functions' file? /etc/rc.d/config/functions or /etc/init.d/functions.sh?
21
22 For 1.0_rc6+, /etc/init.d/functions.sh
23
24 Best Regards,
25
26 --
27 Daniel Robbins <drobbins@g.o>
28 Chief Architect/President http://www.gentoo.org
29 Gentoo Technologies, Inc.