LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-28-2005, 10:04 AM   #1
chuanweizuo
Member
 
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
How can a command/program be run automatically on boot?


My problem is:
I have to use the commercial oss to drive my soundcard because of the failture of ALSA configuration. Every time, I have to run the "soundon" command to probe the soundcard module manually after logining as root. This is really bothering me. What's more, the oss doesn't work after three months' trial use.
My question is:
How can I get the OS to probe the soundcard module automatically before I login?


Regards,
Chuanweizuo
 
Old 11-28-2005, 10:36 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Which soundcard do you have that ALSA doesn't seem to work with?

If the modules are in the kernel, they should load on boot.

If you must issue that command, there should be something in RedHat
similar to /etc/rc.d/rc.local in Slackware, where you can insert commands
to run when you boot your system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run a command automatically on start up TKD Suse/Novell 6 11-03-2005 04:41 AM
run program automatically at specific time simon_qwl Programming 2 03-20-2005 10:58 AM
How can I run a command automatically at startup? luwigie Linux - General 8 08-26-2004 09:05 PM
Automatically run root program. Hammett Linux - Software 4 05-16-2004 12:45 PM
How do I automatically run at boot an X program or script cmisip Linux - General 4 01-05-2003 06:30 PM


All times are GMT -5. The time now is 02:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration