Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263325AbTKCVJY (ORCPT ); Mon, 3 Nov 2003 16:09:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263386AbTKCVI4 (ORCPT ); Mon, 3 Nov 2003 16:08:56 -0500 Received: from electric-eye.fr.zoreil.com ([213.41.134.224]:7086 "EHLO fr.zoreil.com") by vger.kernel.org with ESMTP id S263365AbTKCVIx (ORCPT ); Mon, 3 Nov 2003 16:08:53 -0500 Date: Mon, 3 Nov 2003 22:00:06 +0100 From: Francois Romieu To: Tomas Szepe Cc: lkml Subject: Re: how to restart userland? Message-ID: <20031103220006.A21093@electric-eye.fr.zoreil.com> References: <20031103193940.GA16820@louise.pinerecords.com> <20031103204118.GJ16820@louise.pinerecords.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031103204118.GJ16820@louise.pinerecords.com>; from szepe@pinerecords.com on Mon, Nov 03, 2003 at 09:41:18PM +0100 X-Organisation: Land of Sunshine Inc. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 722 Lines: 18 Tomas Szepe : [...] > OK, that sounds like a plan. There's one problem, though -- I really need > to do this in a single step (i.e. I won't have console access to issue any > commands after all processes have been killed off and all the world's got > is a root shell), so the script mustn't get killed while the system is coming > down. Hack sysvinit/shutdown.c so that it exec /sbin/telinit U and put the adequate command in /etc/inittab ? -- Ueimor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/