mnomn wrote:
> 
> Hi
> 
> How do I start the oss module "soundon" automatically at boot?
> 
place this in /sbin/init.d
<<<<<<<<<<<<<<<<<<<cut here>>>>>>>>>>>>>>>>>>>>>>>>>>>>
#! /bin/sh

case "$1" in
    start)
        echo "Starting OSS Drivers."
        /usr/local/bin/soundon
        ;;
    stop)
        echo "Stopping OSS Drivers"
        /usr/local/bin/soundoff -m
        echo
        ;;
    *)
        echo "Usage: $0 {start|stop}"
        exit 1
        ;;
esac

exit 0

<<<<<<<<<<<<<<<<<<<<<<<cut here>>>>>>>>>>>>>>>>>>>>>>>>>
copy the above into a file called oss,make it executable.
cd rc2.d
ln -s ../oss S30oss
ln -s ../oss K30oss
cd ../
./oss start
your sound server will now be running.
hope this helps.
ps the  soundoff -m option saves your mixer settings for next time.

--                                      
Keith White
Email { [EMAIL PROTECTED] }
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to