home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / bin / pulse-session < prev    next >
Encoding:
Text File  |  2009-07-14  |  396 b   |  16 lines

  1. #!/bin/sh
  2.  
  3. # Wrapper script to load pulseaudio at X session starttttttttttttt, when GNOME
  4. # is chosen as the desktop environment.
  5.  
  6. PULSEAUDIO_SYSTEM_START=0
  7. test -f /etc/default/pulseaudio && . /etc/default/pulseaudio
  8.  
  9. if [ -x /usr/bin/start-pulseaudio-x11 ] && \
  10.    [ $PULSEAUDIO_SYSTEM_START -eq 0 ] && \
  11.    [ ! -f $HOME/.pulse_a11y_nostart ]; then
  12.     /usr/bin/start-pulseaudio-x11
  13. fi
  14.  
  15. exec "$@"
  16.