Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Extend a script in /etc/init.d - how to?
Date: Tue, 11 Jan 2011 16:15:48
Message-Id: AANLkTimYKw3+tCXCH3MV8XQAQWcfP1qmPxb1h=M+UR7z@mail.gmail.com
In Reply to: [gentoo-user] Extend a script in /etc/init.d - how to? by Helmut Jarausch
1 On Tue, Jan 11, 2011 at 9:32 AM, Helmut Jarausch
2 <jarausch@××××××××××××××××.de> wrote:
3 > Hi,
4 >
5 > the package sys-power/powernowd comes with an init script which would
6 > allow
7 > /etc/init.d/powernowd high
8 > or
9 > /etc/init.d/powernowd low
10 >
11 > (in addition to the standard parameters start/stop/restart)
12 > Unfortunately, that's not implemented when powernowd is installed by
13 > portage (emerge).
14 >
15 > Does anybody know how to teach runscript additional parameters?
16 >
17 > Many thanks for a hint,
18 > Helmut.
19
20 Maybe a good place to begin if you want to contribute your own scripts:
21 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4#doc_chap4