Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 10:32:17 +0200
From:      Willie Viljoen <will@unfoldings.net>
To:        Paul Everlund <tdv94ped@cs.umu.se>
Cc:        jemaxwell@jaymax.com
Subject:   Re: Restarting init without rebooting
Message-ID:  <200304221032.17546.will@unfoldings.net>
In-Reply-To: <Pine.GSO.4.44.0304220931510.5014-100000@kvist.cs.umu.se>
References:  <Pine.GSO.4.44.0304220931510.5014-100000@kvist.cs.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 22 April 2003 9:37, someone, possibly Paul Everlund, typed:
> If you type 'kill -HUP 1' the init-process reads some (do
> not know which except for /etc/ttys) configuration files.

You can get the same result with init q. This reloads /etc/ttys(5), but 
doesn't restart anything else.

> Can one not accomplish this by 'killall init'? Then enter for
> '/bin/sh', and when typing exit the rc-scripts seems to be read
> once again. This must of course be done at the console.

It's possible, havn't tried though. But if you want to reinvoke the rc 
scripts, make sure you do umount -A (not umount -a) first.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

will@unfoldings.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304221032.17546.will>