Couper le son au démarrage d'un Mac depuis Debian
18/06/2019 - Aucun commentaire
#get root sudo -i ls /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82 #if the file doesn't exist, check SystemAudio serial with this command efivar -l | grep SystemAudioVolume #Make a backup cp /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82 ~./SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82.backup #remove the immutable flag before writing chattr -i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82 #Disable that anoying fucking hey-i-m-a-mac-head-hur-durr-sound #WARNING, messing with efi is not advised ! printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82 reboot
Source : https://gist.github.com/0xbb/ae298e2798e1c06d0753