head	1.1;
branch	1.1.1;
access;
symbols
	import-20090318:1.1.1.1
	import-20081205:1.1.1.1
	rel-8-1-2-sv:1.1.1.1
	import-20080404:1.1.1.1
	import-20071105:1.1.1.1
	import-20061124:1.1.1.1
	freescale:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2006.11.27.11.19.24;	author seh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2006.11.27.11.19.24;	author seh;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#!/bin/sh

# minimal startup script, will work with msh (this is best available in
# MMUless format).

# load the configuration information
. /etc/rc.d/rc.conf
mode=${1:-start}
if [ $mode = "start" ]
then
    services=$cfg_services
else
    services=$cfg_services_r
fi
cfg_services=${2:-$services}

# run the configured sequence
for i in $cfg_services
do
    if [ -x /etc/rc.d/init.d/$i ]
    then                                                                        
        /etc/rc.d/init.d/$i $mode
    fi                                                                          
done

if [ $# -ge 2 ]
then 
    exit 0
fi
# show all kernel log messages
#echo 8 >  /proc/sys/kernel/printk

# run rc.local if present and executable
if [ -x /etc/rc.d/rc.local ]
then 
    /etc/rc.d/rc.local $mode
fi

@


1.1.1.1
log
@Import from fsl 20061124
@
text
@@
