Gentoo Archives: gentoo-dev

From: Aron Griffis <agriffis@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] runscript.sh changes
Date: Tue, 16 Oct 2001 20:29:40
Message-Id: 20011016212934.A17441@yde.flatmonk.org
1 Hi Developers,
2
3 Homegrown functions are now usable in /etc/init.d scripts. Just put it
4 in your opts, and you should be able to call it. For example:
5
6 opts="start stop restart reload"
7
8 reload() { kill -HUP mydaemon; }
9
10 Aron