Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Extend a script in /etc/init.d - how to? (http://www.linux-archive.org/gentoo-user/475124-extend-script-etc-init-d-how.html)

Paul Hartman 01-11-2011 03:08 PM

Extend a script in /etc/init.d - how to?
 
On Tue, Jan 11, 2011 at 9:32 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
> the package sys-power/powernowd comes with an init script which would
> allow
> /etc/init.d/powernowd high
> or
> /etc/init.d/powernowd low
>
> (in addition to the standard parameters start/stop/restart)
> Unfortunately, that's not implemented when powernowd is installed by
> portage (emerge).
>
> Does anybody know how to teach runscript additional parameters?
>
> Many thanks for a hint,
> Helmut.

Maybe a good place to begin if you want to contribute your own scripts:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4#doc_chap4


All times are GMT. The time now is 03:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.