Date: Sun, 6 Apr 1997 00:40:05 -0800 (PST) From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-bugs Subject: Re: bin/3202: shutdown(8) don't work if started from an X Window Manager menu Message-ID: <199704060840.AAA02167@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/3202; it has been noted by GNATS. From: j@uriah.heep.sax.de (J Wunsch) To: dima@tejblum.dnttm.rssi.ru Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/3202: shutdown(8) don't work if started from an X Window Manager menu Date: Sat, 5 Apr 1997 16:42:23 +0200 As Dmitrij Tejblum wrote: > >Fix: > > May be this is not the best way, but it is simple. I don't think it's a good fix. If at all, shutdown itself should prevent the signal delivery to reboot(8). After all, shutdown is the program that goes into background, while reboot is a plain foreground program (which i expect to be able to abort using ^C if i hit it quickly after typing the command). Note that you should also get away with something like ... exec "trap 1 2 15 ''; shutdown -h now" in your window manager menu. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704060840.AAA02167>