Changeset 2901

Show
Ignore:
Timestamp:
10/14/08 07:57:19 (17 months ago)
Author:
kris
Message:

Updated the script which notifies users about sound errors to not do so if osscore is loaded.

Location:
pcbsd
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/branches/7.0/system-overlay/usr/share/skel/.kde4/Autostart/checksounderror.sh

    r2340 r2901  
    1010  rm /tmp/unknownSound 
    1111 
     12  # Make sure we aren't using osscore 
     13  kldstat | grep osscore >/dev/null 2>/dev/null 
     14  OSSCORE="$?" 
     15 
    1216  # Check if the user wants to ignore this warning 
    1317  IGNORE="`pbreg get /PC-BSD/SoundErrorDisable`" 
    14   if [ "${IGNORE}" != "Y" ] 
     18  if [ "${IGNORE}" != "Y" -a "${OSSCORE}" != "0" ] 
    1519  then 
    1620    # Start the SoundError program to warn the user of missing sound module 
  • pcbsd/trunk/system-overlay/usr/share/skel/.kde4/Autostart/checksounderror.sh

    r2340 r2901  
    1010  rm /tmp/unknownSound 
    1111 
     12  # Make sure we aren't using osscore 
     13  kldstat | grep osscore >/dev/null 2>/dev/null 
     14  OSSCORE="$?" 
     15 
    1216  # Check if the user wants to ignore this warning 
    1317  IGNORE="`pbreg get /PC-BSD/SoundErrorDisable`" 
    14   if [ "${IGNORE}" != "Y" ] 
     18  if [ "${IGNORE}" != "Y" -a "${OSSCORE}" != "0" ] 
    1519  then 
    1620    # Start the SoundError program to warn the user of missing sound module