LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-01-2008, 08:13 AM   #1
fenriswoolf
LQ Newbie
 
Registered: Jul 2006
Location: u.s.
Posts: 15

Rep: Reputation: 0
running a program start script in terminal


greetings,
i have got a gateway t1616 which has an integrated rtl8127 wireless card. the only way to get this card working is with the launch command './wlan0up' in terminal inside the driver software folder that was provided by the manufacturer. i wonder whether anyone knows of a way to start the card automatically during booting by running a command script in terminal ... thanks theo
 
Old 04-01-2008, 09:25 AM   #2
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, Arch
Posts: 572

Rep: Reputation: 64
What distro of Linux are you running?

It sounds like you installed software from the manufacturer which is not distributed by the Linux distro. That works, but things usually work more seamlessly if you can install a package from the distro instead.

But assuming you want to run with what you have, the simplest way would be to add commands to (or create) the /etc/rc.local script.
Code:
#!/bin/sh
...
cd /usr/local/some_directory
./wlan0up
Note that there may be distos that don't support /etc/rc.local. Also, there may be better ways, such adding or modifying files in /etc/sysconfig/, depending on which distro you are running.
 
  


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
Shell script to start another program, if not running. cooljai Linux - Software 13 03-13-2012 04:39 AM
Running program from terminal with & does nothing, program stops DittoAlex Linux - General 1 10-05-2007 01:35 AM
How to start a program in terminal and let it 'detach' neo_in_matrix Linux - Newbie 2 04-12-2005 05:08 AM
Running a Program in a new Virtual Terminal Johnsernickle Linux - Software 2 07-09-2004 11:50 AM
Running program when terminal closed? mikeshn Linux - General 9 11-23-2002 08:00 PM


All times are GMT -5. The time now is 07:35 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