#!/bin/sh

# Mount fs accroding to /etc/fstab 
mount -a

LDCONFIG=$(type -p ldconfig)
if [ -f "${LDCONFIG}" ]; then
    ${LDCONFIG} -C /tmp/ld.so.cache
fi

for initscript in /etc/init.d/S[0-9][0-9]*
do
	#echo "INIT script = $initscript"
	if [ -x $initscript ] ;
	then
		$initscript
	fi
done

