Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-23-2005, 10:49 AM   #1
Registered: Nov 2004
Distribution: Gentoo
Posts: 33

Rep: Reputation: 15
get a script to run on startup

It took a while, but I finally got my wifi card to work in debian sarge. I made a script that configures and activates it with the help of a tutorial.

My question is, how do I get that script to run on startup? I want it to run before gdm starts.

Old 04-23-2005, 11:13 AM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
put that script in /etc/init.d/ and make a symlink for it in /etc/rcx.d/ where x is ur runlevel

Old 04-23-2005, 11:56 AM   #3
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 227

Rep: Reputation: 31
man update-rc.d
Old 04-23-2005, 02:23 PM   #4
Registered: Nov 2004
Distribution: Gentoo
Posts: 33

Original Poster
Rep: Reputation: 15
Cool. It works.

I called the script /etc/init.d/rt2500. Then, I ran

# update-rc.d rt2500 defaults

Now it works like a charm.


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
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 02:53 AM
Run Script at Startup?? usaf_sp SUSE / openSUSE 5 11-11-2005 01:43 PM
'run as' from rc.5 startup script davee Linux - General 2 03-10-2005 02:36 AM
Run a script at startup iain.ross Linux - Newbie 8 08-27-2004 04:03 PM
How to run script on startup Angelis Linux - General 1 11-16-2003 05:45 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:57 PM.

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