autorun script

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
fedoragirlsAsked:
Who is Participating?
 
mmarthaConnect With a Mentor Commented:
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
 
fedoragirlsAuthor Commented:
thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.