Solved

autorun script

Posted on 2004-10-06
2
361 Views
Last Modified: 2010-04-22
normally i use chmod 700 /etc/rc.d/rc.firewall to run my script everytime system is fresh boot

how do i make it run at boot time? i use redhat9
0
Comment
Question by:fedoragirls
2 Comments
 
LVL 2

Accepted Solution

by:
mmartha earned 40 total points
ID: 12238482
move the file to /etc/rc.d/init.d/ or make a link in this directory that points to the script (#cd /etc/rc.d/init.d and then # ln -s ../rc.firewall rc.firewall ) and that should do it.
0
 

Author Comment

by:fedoragirls
ID: 12238567
thank you
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Expect & sshpass package for Solaris 10 x86 15 995
suricata drop unknown user agent 14 105
Edit file on Ubuntu as root 23 134
Centos 6.4 ModSecurity: Output filter: Content-Length Error 2 100
Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question