Date: Fri, 8 Jan 1999 13:01:46 -0600 (CST) From: Licia <licia@o-o.org> To: Dag-Erling Smorgrav <des@flood.ping.uio.no> Cc: Alfred Perlstein <bright@hotjobs.com>, Luigi Rizzo <luigi@labinfo.iet.unipi.it>, =??Q?S=F8ren_Schmidt?= <sos@sos.freebsd.dk>, obrien@NUXI.com, andyf@speednet.com.au, freebsd-current@FreeBSD.ORG Subject: Re: beep, beep, beep! Message-ID: <Pine.BSF.3.96.990108125814.1129A-200000@o-o> In-Reply-To: <xzp1zl51tz6.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Would this do what you want? (patched against 2.2.7R /usr/src/sys/kern/kern_shutdown.c) (I know it's not current, but it's what I have available at the moment :) ) On 8 Jan 1999, Dag-Erling Smorgrav wrote: > Alfred Perlstein <bright@hotjobs.com> writes: > > On 8 Jan 1999, Dag-Erling Smorgrav wrote: > > > On a more serious note, I'd love it if Somebody (tm) patched the > > > kernel to beep a couple of times after shutting down (when it displays > > > the "press any key to reboot" prompt). Useful when doing maintenance > > > on headless machines. > > % grep -1 SHUTDOWN mykernel.conf > > psuedo-device speaker > > options "PLAY_TAPS_ON_SHUTDOWN" > > % > > ISTR "pseudo-device speaker" was reaped by the Danes... > > DES > -- > Dag-Erling Smorgrav - des@flood.ping.uio.no > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > [ licia@o-o.org ] [ http://www.o-o.org/ ] [ IrcNick : Licia ] [ A happy user of FreeBSD : http://www.freebsd.org/ ] [ Why crawl through windows when you can walk through a door? ] [ This user boycotts all Microsoft products and services ] [-- Attachment #2 --] 252,254c252,256 < printf("\n"); < printf("The operating system has halted.\n"); < printf("Please press any key to reboot.\n\n"); --- > printf("\007\n"); > DELAY(300000); > printf("The operating system has halted.\007\n"); > DELAY(300000); > printf("Please press any key to reboot.\007\n\n"); 287c289 < printf("--> Press a key on the console to reboot <--\n"); --- > printf("--> Press a key on the console to reboot <--\007\n");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990108125814.1129A-200000>
