#!/bin/sh

if [ -f /.enable_coredumps ]; then
	ulimit -c unlimited
fi

if [ -x /sbin/upstart ]; then
    # pass -c to upstart to stop it ignoring console stanzas in
    # jobfiles
    # pass -v for more verbose logging of e.g. state changes and jobs
    # launched (even if -c not passed)
	exec /sbin/upstart -v
elif [ -x /etc/miniboot.sh ]; then
	exec /etc/miniboot.sh
else
	echo "well bugger all"
fi

