Skip to content

Commit e3652f1

Browse files
Add virtual console beep disabling service for issue #118
1 parent b53ecad commit e3652f1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[Unit]
2+
Description=Disable virtual console beeps
3+
Documentation=https://github.com/Githubguy132010/Arch-Linux-without-the-beeps
4+
After=multi-user.target
5+
6+
[Service]
7+
Type=oneshot
8+
RemainAfterExit=yes
9+
# Disable console beeps for all virtual terminals
10+
ExecStart=/usr/bin/bash -c 'for tty in /dev/tty[0-9]*; do if [ -w "$tty" ]; then setterm -blength 0 > $tty; fi; done'
11+
12+
[Install]
13+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)