On Mon, Mar 12, 2001 at 06:05:34PM +0000 or thereabouts, Dave Airlie wrote:
>>> but in your friends case X hand't existed so was still running .. so why
> would init have kicked it? yu need to do a killall X in that case and let
> init re-spawn it .. or maybe killall xdm....
>> init can only respawn somthing that has died..
>I don't remember the details now but something had died in this case and
needed a restart. T'would be nice to have a "telinit -r" option where init
restarts everything in the current runlevel though. (read the source time).
> On Mon, 12 Mar 2001, Conor Daly wrote:
> > Incidentally, is there any way to *restart* a particular runlevel's process
> > w/o having to manually restart them all? Someone had a problem with a hung
> > console / X but could ssh in and I suggested "telinit 1; sleep 20; telinit
> > 5" to get the box back in order. Now, what I would like is to be able to
> > do, from runlevel 5, "telinit 5" and have anything that is not running be
> > started or have everything for that runlevel be restarted. At present,
> > telinit appears to check its current runlevel and, if that's the same as the
> > requested level, it just exits.
> > tried "telinit u" which the man page suggested might help but nothing
> > changed.
Met Eireann, Glasnevin Hill, Dublin 9, Ireland
Ph +353 1 8064217 Fax +353 1 8064275
6:15pm up 8:05, 2 users, load average: 0.00, 0.00, 0.03
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!