public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] runscript.sh changes
@ 2001-10-16 20:30 Aron Griffis
  0 siblings, 0 replies; only message in thread
From: Aron Griffis @ 2001-10-16 20:30 UTC (permalink / raw
  To: gentoo-dev

Hi Developers,

Homegrown functions are now usable in /etc/init.d scripts.  Just put it
in your opts, and you should be able to call it.  For example:

    opts="start stop restart reload"

    reload() { kill -HUP mydaemon; }

Aron



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-17  2:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-16 20:30 [gentoo-dev] runscript.sh changes Aron Griffis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox