# latebootcmds
#
# Run commands that can or should be delayed until the end of
# boot

start on runlevel 2

script

    # For now, we just arbitrarily wait 10 seconds. Should change this
    # to some more specific and accurate as needed.
    sleep 10

    # By default, an upstart task will automatically exit on an error. We
    # want the task to complete even if any of our commands return an error
    # so we turn off the exit-on-error option
    set +e

    modprobe uvcvideo

    # Re-enable the exit-on-error option now that we're done
    set -e


end script
