LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-12-2004, 11:01 AM   #1
WORST
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Question rc.local problems


I have created my rc.firewall script to nat i wanted it to load on restart so i edited my rc.local. adding the line "./rc.firewall" to the bottom of the rc.local script. When i reboot the rc.firewall is not loaded, i have to load it manually. I can load the rc.local from the terminal after the boot and the script works fine. please help.
 
Old 05-12-2004, 11:14 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
What are the permissions of rc.local.........
it needs to be executable..........IE

Code:
-rwxr-xr-x    1  root   root
 
Old 05-12-2004, 11:32 AM   #3
WORST
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Original Poster
Rep: Reputation: 0
The Permissions are

-rwxr-xr-x 1 root root

i am a nub so please bare with me
 
Old 05-14-2004, 12:09 PM   #4
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
you might need to enter the full explicit path to rc.firewall instead of ./rc.firewall try /etc/rc.firewall or what ever the full path to it is. Also, check the permissions on rc.firewall. chmod 755 ./rc.firewall should do it.
 
  


Reply



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
boot problems...rc.local uh-oh! ryan62580 Mandriva 5 03-11-2005 08:04 AM
Problems with apt-get and local repository.... Eux Debian 3 12-12-2004 04:04 PM
problems with /etc/rc.d/rc.local and ifconfig designguy79 Slackware 6 10-24-2004 01:37 PM
rc.local problems zehas Slackware 6 09-01-2004 04:16 PM
rc.local problems Johnsernickle Linux - General 4 07-14-2004 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:53 PM.

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