Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why we need /etc/rc.local ?

JhilFeb 27 2016 — edited Sep 1 2016

Hi all

I found /etc/rc.local is almost the last script called at boot up.

There is nothing inside in rc.local file. For what purpose we need rc.local fille ?

# cat /etc/rc.local

#!/bin/sh

#

# This script will be executed *after* all the other init scripts.

# You can put your own initialization stuff in here if you don't

# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

# cat /etc/issue

Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)

Kernel \r on an \m

Thanks.

This post has been answered by Dude! on Feb 27 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2016
Added on Feb 27 2016
8 comments
2,632 views