You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
306 B

#!/bin/sh -efu
cat >>"/etc/inputrc" <<EOF
# do not bell on tab-completion
set bell-style none
EOF
if [ -d /etc/X11/xinit.d ]; then
cat >/etc/X11/xinit.d/disable-bell <<EOF
#!/bin/sh
# Generated by script during image creation
# Disable bell.
xset -b
EOF
chmod +x "/etc/X11/xinit.d/disable-bell" ||:
fi