LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-12-2004, 02:50 PM   #1
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Rep: Reputation: 15
network startup script for redhat 9


I have read a few threads around here and have noticed some people have the same problem, but I have yet to find a clear answer. I am using redhat 9.0 on this machine and I have to manually start the network by running "service network restart" everytime the machine is booted up because it doesn't work on boot. I was wondering if there was a way I could put this command in a script so that no matter what user logs in, etc that it will get the networking up for them. Thanks for the help
 
Old 04-12-2004, 05:35 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
its hard to say exactly, if all your users use bash shell, you could, put it in /etc/bashrc

otherwise incorporate it into sysinit.rc in the /etc/rc.d/ directory, or into one or more of your runlevel scripts.

locate rc.d / |grep rc.d
 
Old 04-12-2004, 07:17 PM   #3
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Well all of my users use bash. However, the command "service network restart" requires the root environment to complete. Is there anyway to do something to allow that command to run?
 
  


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
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 02:53 AM
How to call a script from a system startup script? jonatito Linux - Newbie 7 11-11-2005 09:40 PM
My Redhat Linux 9 machine won't startup but gives a startup error" njugs79 Linux - Newbie 2 03-23-2005 12:50 AM
Network Startup Script andy7t Linux - Wireless Networking 3 11-17-2004 07:16 AM
Redhat 9 Gnome 2.4 Installation issue - X-Windows startup script reaper_90 Linux - Newbie 2 11-05-2003 08:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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