Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Can I suppress the bleep when shutting down?
Date: Wed, 21 Oct 2015 11:56:57
Message-Id: 20151021115825.GC2608@acm.fritz.box
In Reply to: [gentoo-user] Re: Can I suppress the bleep when shutting down? by James
1 Hello, James.
2
3 On Tue, Oct 20, 2015 at 07:03:27PM +0000, James wrote:
4 > Alan Mackenzie <acm <at> muc.de> writes:
5
6
7 > > > > Every time I shut down my gentoo system with "shutdown -h now", it beeps
8 > > > > at me. This is becoming steadily more irritating as the months go by.
9 > > > > Just what is this beep supposed to be telling me? I _know_ I'm shutting
10 > > > > the machine down.
11
12 > > From a virtual console. Matthias has tracked it down for me, and it is
13 > > hard coded in one of the C files building shutdown itself. I think I'm
14 > > going to edit the source and rebuild it without the bleep.
15
16
17 > Check out 'epatch_user' [1].
18 > This is exactly what epatch-user was design for. And
19 > you get 'persistence' with this type of patch.
20
21 Thank you, indeed. I have now created such a patch, not without one or
22 two problems along the way. With it, emerge -1 sysvinit now works, and
23 it generates me a shutdown which doesn't beep. :-)
24
25 > In fact, this would be a perfect example to find it's way to the
26 > gentoo wiki!
27
28 Hmm. I'd have to moderate the language used in the patch for that. ;-)
29
30 > Bravo, a frequent nuisance, the sounds, and folks could add lots
31 > of patches to shut off differnet annoying sounds......
32
33 > Great Find there Alan...
34
35 Thanks to all those who helped me along the way.
36
37 > hth,
38 > James
39
40 > [1] https://wiki.gentoo.org/wiki//etc/portage/patches
41
42 --
43 Alan Mackenzie (Nuremberg, Germany).