Visit Jeremy's Blog.
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-10-2004, 02:14 AM   #1
LQ Newbie
Registered: Jan 2004
Distribution: Redhat 8.0
Posts: 1

Rep: Reputation: 0
running scripts on startup

I've spent the last week setting up a computer on Redhat 8, with some difficulty considering my newness to the Linux world. Anyway, I've been able to get my alpha wireless driver to work, and I successfully set up a web server using Apache 2. Problem is, when I restart the computer, I have to go through a number of steps manually just to return my computer to the condition it was last in. I have to run a script for the driver and I have to run apachect1 to start the webserver.

Upon advice from someone who was helping me with the wireless nic, I added the path for the driver script to the /etc/rc.d/rc.local file. This did not work. I can't really say much more than that, since I don't know how to access the relevant logs if there are any.

Can anyone help me understand how to run scripts on startup?
Old 01-10-2004, 02:28 AM   #2
Registered: Sep 2003
Location: Canada
Distribution: Fedora 30
Posts: 341

Rep: Reputation: 36
Do a man on chkconfig.
chkconfig - updates and queries runlevel information for system ser-

The name of all of the services can be found with
chkconfig --list;
Old 01-10-2004, 06:59 AM   #3
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30

I'm sure the driver is a module that has to be run for the hardware to be seen normally the file will be (abc.o) . To load this perminate onto the system use the cmd modeprobe (name of driver file.o). For the apache prob check runlevels with chkconfig cmd and see if u have to enable the service to be run upon boot up, if it doen´t appear then add the full path to the cmd to the /etc/rc.d/rc.local file. Temember FULL PATH.



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... ValidiusMaximus Linux - Software 8 01-11-2005 05:55 PM
Startup Scripts jhartney Linux - Newbie 3 01-07-2005 01:35 AM
Running scripts on startup darrenjhopkins Linux - Newbie 7 12-09-2004 04:51 AM
Running Scripts/Commands on Startup drknow Linux - Newbie 4 01-09-2004 05:14 AM
startup scripts amphion Linux - Newbie 8 03-28-2003 01:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:23 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
Open Source Consulting | Domain Registration