Re: How to specify my own init program ? [message #11624 is a reply to message #11592] |
Thu, 29 March 2007 11:10 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
Jim Nightshade
Messages: 3 Registered: November 2006
|
Junior Member |
|
|
Enrico Weigelt writes:
> * Kir Kolyshkin <kir@openvz.org> wrote:
>
>> Just move /sbin/init to /sbin/init.real, and put your own prog as
>> /sbin/init :) Later you can restore it back.
>
> I'm already doing so, but I dont what to touch the original
> /sbin/init (leave it in place). [...]
On Debian systems, you can use dpkg-divert to ensure that package
updates do not overwrite your custom /sbin/init.
|
|
|