]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: remove warn_melody() logic 1439/head
authorLennart Poettering <lennart@poettering.net>
Thu, 1 Oct 2015 19:11:12 +0000 (21:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 1 Oct 2015 19:11:12 +0000 (21:11 +0200)
commit2c6c4ab2f5523940df64af205315612d89b818f0
tree732599107fb011f08cc9fa2a7b0eda2d08363474
parent8ac5aaa9fa47622e480391886c34f052f5ff909d
logind: remove warn_melody() logic

The internal speaker is usually not available on modern latops that
support suspend, and even if it is available in the hardware, most
distributions turned support for it off in the kernel. And even if it is
enabled, it's probably still a bad idea to make use of it for the
suspend-failures. If anything a proper sound should be played.

Long story short, let's remove support of this anachronism.
src/basic/terminal-util.c
src/basic/terminal-util.h
src/login/logind-action.c