---

About.com: Calling Commands When Booting [init script]

“If you find yourself needing to run a certain command or
series of commands each time you start your Linux system, you can
often automate the process by editing the local init script
,
usually located at /etc/rc.d/rc.local or somewhere similar.”

“Once you’ve found it, treat it like any shell script if it’s a
file, because that’s what it is — a shell script that’s run once
each time your system boots into multiuser mode. If it’s a
directory, any scripts that you create there will be run during
boot.”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis