OpenVZ Forum


Home » Mailing lists » Users » How to specify my own init program ?
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
Jim Nightshade is currently offline  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.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: New kernel branches structure
Next Topic: Conf file corruption
Goto Forum:
  


Current Time: Mon Sep 09 11:20:25 GMT 2024

Total time taken to generate the page: 0.04334 seconds