diff options
| author | Roy Marples <roy@marples.name> | 2007-12-14 14:12:38 +0000 | 
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-12-14 14:12:38 +0000 | 
| commit | 9f2403dffae514dca431828014a2dc9c9de4e61f (patch) | |
| tree | bc1bd6ae83589f729a3bf7ca6d5ab592cbec56fd /init.d/local | |
| parent | a3db3bac6242ff29871161620d0449125b3262aa (diff) | |
| download | openrc-9f2403dffae514dca431828014a2dc9c9de4e61f.tar.xz | |
Remove Gentoo copyright from all files that I know I have written
Diffstat (limited to 'init.d/local')
| -rwxr-xr-x | init.d/local | 18 | 
1 files changed, 11 insertions, 7 deletions
diff --git a/init.d/local b/init.d/local index d1c30d40..0873ac8e 100755 --- a/init.d/local +++ b/init.d/local @@ -1,5 +1,4 @@  #!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation  # Copyright 2007 Roy Marples  # All rights reserved @@ -24,8 +23,7 @@  # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF  # SUCH DAMAGE. -description="Executes user command in /etc/conf.d/local.start when starting \ -and /etc/conf.d/local.stop when stopping." +description="Executes user commands in /etc/conf.d/local"  depend() {  	after * @@ -35,8 +33,11 @@ depend() {  start() {  	ebegin "Starting local" -	# Add any misc programs that should be started -	# to /etc/conf.d/local.start +	if type local_start >/dev/null 2>&1; then +		local_start +	fi + +	# Support old configs  	if [ -e /etc/conf.d/local.start ]; then  		. /etc/conf.d/local.start  	fi @@ -47,8 +48,11 @@ start() {  stop() {  	ebegin "Stopping local" -	# Add any misc programs that should be stopped -	# to /etc/conf.d/local.stop +	if type local_start >/dev/null 2>&1; then +		local_stop +	fi + +	# Support old configs  	if [ -e /etc/conf.d/local.stop ]; then  		. /etc/conf.d/local.stop  	fi  | 
