Skip to content

Commit 387e854

Browse files
Update scripts/entrypoint.sh
Co-authored-by: Copilot <[email protected]>
1 parent e48f2e9 commit 387e854

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ build_iso() {
4040

4141
# Disable PC speaker module in airootfs if present
4242
if [ -f "airootfs/etc/modprobe.d/nobeep.conf" ] \
43-
&& grep -q "pcspkr" airootfs/etc/modprobe.d/nobeep.conf 2>/dev/null; then
43+
&& grep -q "pcspkr" airootfs/etc/modprobe.d/nobeep.conf 2>/dev/null \
44+
&& grep -q "snd_pcsp" airootfs/etc/modprobe.d/nobeep.conf 2>/dev/null; then
4445
log "PC speaker already disabled in airootfs configuration."
4546
else
4647
log "Disabling PC speaker in airootfs configuration..."

0 commit comments

Comments
 (0)