LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2001, 11:43 PM   #1
blistfix
LQ Newbie
 
Registered: Jun 2001
Posts: 29

Rep: Reputation: 15
automating simple tasks


Hi everyone, thanks to tips I read here I can now use my modem.

But before I can use it I have to tell Linux to use IRQ 9 which is how my hardware is set up. So I have to turn on a terminal window every time I boot up and enter: setserial /dev/ttyS2 irq 9. My Linux book says to add that line to .bash_profile. Then use the "source" command to activate it. Least, I think that's the idea. But it doesn't work. I'm stuck having to manually setting the interrupt.

Anybody know what I should do?
 
Old 08-20-2001, 07:29 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
if its part of ure "personal" setup just add the line to .bash_profile. each time you log in .bash_profile will be activated and it will activate all commands within.
if it should be part of the "local" setup, you want to add the line in /etc/rc.d/rc.local, so it gets activated just before the boot process finishes.
 
  


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
linux tasks lennysokol Linux - Software 1 04-28-2005 01:47 AM
Automating simple commands, scripting or programming? entob *BSD 3 09-01-2004 02:56 AM
Need some tasks AMDPwred Linux - General 5 02-28-2003 04:22 PM
Scheduling Tasks? gauge73 Linux - General 1 01-28-2003 12:56 PM
Scheduled tasks... beserier Linux - General 1 01-24-2003 09:55 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration