LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 07-24-2005, 04:46 AM   #1
Ace2005
Member
 
Registered: Dec 2004
Distribution: OpenSuSE 10.0
Posts: 140

Rep: Reputation: 15
Run a command at boot


My Modem will not work at boot up so i modified the install script so that it will just load the module and synchronize the modem.

I need to run /home/ace/System/eagleconfig2 on startup (in the text mode part)

Please Help

Thanks
 
Old 07-24-2005, 06:34 AM   #2
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
In Knoppix you can do the following:
cp /home/ace/System/eagleconfig2 /etc/init.d
chmod +x /etc/init.d/eagleconfig2
Then run rcconf and select eagleconfig2
You are done. It should work at reboot.
 
Old 07-24-2005, 07:00 AM   #3
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Add command to script called startup in /etc/init.d and run command update-rc.d. See examples @ http://www.cyberciti.biz/nixcraft/vi...-boots-up.html and http://www.debian.org/doc/FAQ/ch-customizing.en.html
 
Old 07-24-2005, 10:09 AM   #4
Ace2005
Member
 
Registered: Dec 2004
Distribution: OpenSuSE 10.0
Posts: 140

Original Poster
Rep: Reputation: 15
Thanks for the help i did get it to run on startup but it produced a lot of weeors. However i did find that using an older version of Eagle-USB got it to work fine, the newer version didn't run on startup as it should have done.
 
  


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
run command on boot FNC Linux - General 1 11-13-2005 06:29 AM
making a command run after boot phillips321 Linux - Software 1 04-19-2005 10:11 PM
where do i add a command to make it run on boot stuart Linux - Newbie 4 06-21-2004 07:03 PM
Run command on boot id10t Red Hat 1 01-28-2004 03:34 PM
run command at boot/login? apberzerk Linux - General 1 09-22-2003 11:25 PM


All times are GMT -5. The time now is 10:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration