/[vps]/baselayout-vserver/trunk/init.d/local
Gentoo

Contents of /baselayout-vserver/trunk/init.d/local

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations) (download)
Sat Sep 3 16:10:27 2005 UTC (9 years, 7 months ago) by hollow
File size: 620 byte(s)
import initial baselayout sources (1.12.0_pre8)
1 #!/sbin/runscript
2 # Copyright 1999-2005 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 source /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 source /etc/conf.d/local.stop
28 fi
29
30 eend $? "Failed to stop local"
31 }
32
33
34 # vim:ts=4

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20