|
Home > Archive > Linux Debian support > September 2005 > rc.local?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Captain Dondo 2005-09-29, 8:46 pm |
| Where do I put rc.local to make it run automagically? Or is there some
other script that I should put my local stuff into?
(Sorry, I'm a recent refugee from Fedora Core and little stuff like this
is driving me *NUTS*!)
TIA....
| |
| Bill Marcum 2005-09-30, 2:47 am |
| On Thu, 29 Sep 2005 17:27:03 -0700, Captain Dondo
<yan@NsOeSiPnAeMr.com> wrote:
> Where do I put rc.local to make it run automagically? Or is there some
> other script that I should put my local stuff into?
>
Put it in /etc/init.d, and make symbolic links in the /etc/rc?.d
directories, either by hand or using update-rc.d. Your script should
accept the arguments "start", "stop" or "restart"; you can copy
/etc/init.d/skeleton and add your own commands to it. Or you could make
a crontab entry starting with "@reboot" (see "man 5 crontab").
--
: How would you disambiguate these situations?
By shooting the person who did the latter.
-- Larry Wall in <199710290235.SAA02444@wall.org>
| |
| Eric Pozharski 2005-09-30, 8:46 pm |
| Captain Dondo <yan@nsoesipnaemr.com> wrote:
> (Sorry, I'm a recent refugee from Fedora Core and little stuff like this
> is driving me *NUTS*!)
Specially for refugees there's "debian-reference-*" packages. Among
other questions it covers Debian system boot process in steps. Enjoy
usful reading.
--
Torvalds' goal for Linux is very simple: World Domination
(it's third person quote.)
|
|
|
|
|