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
	freescale:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2007.11.06.15.44.55;	author seh;	state Exp;
branches
	1.1.1.1;
next	;
commitid	AdKoH3Xx8FxdUwEs;

1.1.1.1
date	2007.11.06.15.44.55;	author seh;	state Exp;
branches;
next	;
commitid	AdKoH3Xx8FxdUwEs;


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}
cfg_services=$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 $2
  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
fi

@


1.1.1.1
log
@Import from fsl 20071105
@
text
@@
