LinuxQuestions.org
Help answer threads with 0 replies.
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 11-05-2008, 01:24 PM   #1
skippy1729
Member
 
Registered: Oct 2008
Posts: 91

Rep: Reputation: 0
linux autoexec?


I am using openSUSE10.3. Every time I boot up, I have to execute a bunch of misc iwconfig, iwconfig & dhclient commands to get my wireless adapter going. I put them all in a file and run the file. Is there some way, similar to DOS autoexec.bat to just run these automatically at startup?

I am sure this question has a simple answer but, I can't find it. Thanks Skippy
 
Old 11-05-2008, 04:25 PM   #2
skippy1729
Member
 
Registered: Oct 2008
Posts: 91

Original Poster
Rep: Reputation: 0
PS I already tried putting the commands in .bashrc; the problem is that it executes whenever I open a terminal and disrupts any file download that might be in progress. I would like to run my commands once after boot up.

Skippy
 
Old 11-05-2008, 04:29 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by skippy1729 View Post
PS I already tried putting the commands in .bashrc; the problem is that it executes whenever I open a terminal and disrupts any file download that might be in progress. I would like to run my commands once after boot up.

Skippy
Since no one answers I can give you a tip. Look for the stuff under /etc/rc.d/, there might be a local.rc file there or any other where you can launch your script from. However, try to read the suse docs about that stuff and what would the correct procedure be. I am not a suse user and I can only guess.
 
Old 11-05-2008, 04:29 PM   #4
skippy1729
Member
 
Registered: Oct 2008
Posts: 91

Original Poster
Rep: Reputation: 0
PPS I just found my answer at http://www.linuxquestions.org/questi...n-linux-87620/

Sorry for another unnecessary thread.
 
  


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
Autoexec @ Linux? ButterflyMelissa Linux - Newbie 4 06-09-2008 01:22 PM
autoexec on Linux? Windreaper Linux - Newbie 2 04-19-2004 06:45 AM
Autoexec.bat in Linux? sikandar Linux - Software 10 08-31-2003 01:30 PM
autoexec.bat analogous for linux?.... amod Linux - Newbie 2 06-18-2003 06:49 AM
The Linux version of autoexec.bat ??? Canaris Linux - Newbie 9 05-27-2003 08:35 AM


All times are GMT -5. The time now is 08:52 AM.

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