/[baselayout]/branches/rc-scripts-1_6/init.d/local
Gentoo

Contents of /branches/rc-scripts-1_6/init.d/local

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1231 - (show annotations) (download)
Mon Jun 13 02:25:31 2005 UTC (9 years, 1 month ago) by vapier
File size: 620 byte(s)
merge cvs Header removal from trunk
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:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20