SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
It is a long story as to why but I basically need to use OSS sound drivers so I don't get a conflict with my ECS laptop's pctel modem. I would like to automate the loading of the sound drivers before starting KDE so the arts sound server will find them. If I use run level 3 I can log in as user and the run "su -c soundon" to start OSS sound and then "startx" to bringup xwindows and kde. The modules can be turned off with "soundoff" or by shutting down. OSS drivers will autoload in a system the uses sysvinit via installation option but this does not work with Slackware's BSD style of init scripts
I would like to use run level 4 and have "soundon" (/usr/lib/oss/soundon) start before kdm
I am not sure were the best place (rc.S vs rc.4 vs rc.sysvinit vs rc.modules) is to try to add a script to do this. I tried to add
# Tell viewer that OSS sound is starting
echo "Starting OSS Sound"
if [ -x /usr/lib/oss/soundon ]; then
but it hung up ( was I missing an fi and are these nested?)