home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 September - Disc 1 / PCNET_CD_2006_09.iso / linux / puppy-barebones-2.01r2.iso / pup_201.sfs / usr / sbin / alsawizard < prev    next >
Encoding:
Text File  |  2006-01-28  |  429 b   |  13 lines

  1. #!/bin/sh
  2.  
  3. #if [ "`/etc/rc.d/rc.alsa status | grep "not loaded"`" = "" ];then
  4. # Xdialog --title "ALSA sound Wizard" --yesno "ALSA sound modules are currently loaded and active.\n
  5. #If you answer Yes here, modules will be unloaded,\nand the Wizard will continue.\nAnswer No, Wizard will exit..." 0 0
  6. # [ ! $? -eq 0 ] && exit
  7. # /etc/rc.d/rc.alsa stop
  8. #fi
  9.  
  10. #...above not necessary, alsaconf does it.
  11.  
  12. exec rxvt -e /usr/sbin/alsaconf
  13.