# psb-modules
#
# This service is to load poulsbo modules needed at boot

start on runlevel 2

script

   # 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 drm_psb
   touch /var/tmp/poulsbo

   amixer set "Front" 100
   amixer set "PCM" 100

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

end script
