From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 09:22:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 517B737B401 for ; Mon, 21 Apr 2003 09:22:21 -0700 (PDT) Received: from mail.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1470B43FDF for ; Mon, 21 Apr 2003 09:22:20 -0700 (PDT) (envelope-from munk@users.munk.nu) Received: from localhost ([127.0.0.1] helo=users.munk.nu ident=munk) by munk.nu with esmtp (Exim 4.14) id 197e4s-000P7w-Ed for questions@FreeBSD.ORG; Mon, 21 Apr 2003 17:23:34 +0100 Received: (from munk@localhost) by users.munk.nu (8.12.9/8.12.8/Submit) id h3LGNXtg096591 for questions@FreeBSD.ORG; Mon, 21 Apr 2003 17:23:33 +0100 (BST) Date: Mon, 21 Apr 2003 17:23:33 +0100 From: Jez Hancock To: FreeBSD Users Message-ID: <20030421162333.GA94508@users.munk.nu> Mail-Followup-To: FreeBSD Users References: <3EA40CC7.140DFEF1@jaymax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EA40CC7.140DFEF1@jaymax.com> User-Agent: Mutt/1.4.1i Subject: Re: Restarting init without rebooting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 16:22:21 -0000 On Mon, Apr 21, 2003 at 08:22:47AM -0700, Joseph Maxwell wrote: > Hello, > > There is supposed to be a way of restarting init, after modifications of > say an rc.* file, by sending a SIGHUP, I think avoiding the need to > reboot. > Could someone say how it is done. You could try: init 1 (takes machine into single user mode - MAKE SURE YOU'RE ON A SECURE CONSOLE!!!) and then after making any changes just issue: exit (or ^D I think, this should bring the runlevel back up to multi-user mode) As usual the manual is your friend :) man init(8) Good luck, Jez