/[baselayout]/trunk/init.d/local
Gentoo

Contents of /trunk/init.d/local

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2695 - (show annotations) (download)
Fri May 11 10:33:49 2007 UTC (6 years, 11 months ago) by uberlord
File size: 613 byte(s)
Store the defined random pool size, #177722 thanks to Yaroslav Isakov.
1 #!/sbin/runscript
2 # Copyright 1999-2007 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4
5 depend() {
6 after *
7 }
8
9 start() {
10 ebegin "Starting local"
11
12 # Add any misc programs that should be started
13 # to /etc/conf.d/local.start
14 if [ -e /etc/conf.d/local.start ] ; then
15 . /etc/conf.d/local.start
16 fi
17
18 eend $? "Failed to start local"
19 }
20
21 stop() {
22 ebegin "Stopping local"
23
24 # Add any misc programs that should be stopped
25 # to /etc/conf.d/local.stop
26 if [ -e /etc/conf.d/local.stop ] ; then
27 . /etc/conf.d/local.stop
28 fi
29
30 eend $? $"Failed to stop local"
31 }
32
33 # vim: set ts=4 :

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20