[Users] Re: How to specify my own init program ?

Jim Nightshade jim at hepe.com
Thu Mar 29 07:10:10 EDT 2007


Enrico Weigelt writes:

> * Kir Kolyshkin <kir at 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.



More information about the Users mailing list