[SuSE Linux] soundon at boot
Hi How do I start the oss module "soundon" automatically at boot? Ola A. <A HREF="http://hem2.passagen.se/mnomn/"><A HREF="http://hem2.passagen.se/mnomn/</A">http://hem2.passagen.se/mnomn/</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
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 { myfish@dial.pipex.com } - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Keith White wrote:
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 ;;
This is a very nice script, but why not just simply put "soundon" in boot.local? - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (3)
-
mnomn@hem2.passagen.se
-
myfish@dial.pipex.com
-
zentara@mindspring.com