description "An upstart event file for Crash Reporter"
author "Eero Tamminen"

start on started ke-recv
stop on starting shutdown

pre-start script

# mmc(s) should be mounted after ke-recv has started, but currently
# started notification seems to be emitted before it's actually ready.
# this is a temporary workaround, we should fix this in ke-recv or c-r
# properly.

	sleep 4
end script

# later on, we should do away with the old initscript. But let's first get
# this to start in the first place...

exec /etc/init.d/crash-reporter start

# we should probably remove respawing from the old init file and do it here
