Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-06-2005, 05:41 PM   #1
LQ Newbie
Registered: Dec 2004
Distribution: SuSE 9.0
Posts: 26

Rep: Reputation: 15
Startup Scripts

How do I write a script to run at startup?
Old 01-06-2005, 05:58 PM   #2
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
depends on the distro ( I see your using suse) setup. I've never used suse, but i imaging it uses sysvinit startup scripts. do a google on sysvinit.
Old 01-06-2005, 06:13 PM   #3
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
To make a script run at startup, place the script in /etc/init.d. Then do a symbolic link to that script in your runlevel (/etc/rc?.d). If you are in runlevel 3, then set your symbolic link in /etc/rc3.d

Old 01-07-2005, 02:35 AM   #4
LQ Newbie
Registered: Dec 2004
Distribution: SuSE 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks a bunch!


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
Startup Scripts?? jimbo-62 Debian 5 07-10-2005 11:23 AM
startup scripts... ValidiusMaximus Linux - Software 8 01-11-2005 06:55 PM
Startup scripts celticselph Slackware 5 04-08-2004 08:23 AM
startup scripts mimi Linux - General 1 04-24-2002 04:22 AM
X Startup Scripts JHuizingh Linux - General 1 09-18-2001 02:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:25 AM.

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
Open Source Consulting | Domain Registration