Linux Today: Linux News On Internet Time.

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

Jul 29, 2000, 12:06 (0 Talkback[s])
(Other stories by Aron Hsiao)

"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

Related Stories: