Turn off Macbook startup sound - Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82 |
If someone else finds this Gist: You need to remove the immutable flag before writing.
chattr -i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
I've been looking all over the web, all day, for a solution to this--> jradmacher you're a genius. Thank you thank you!
Genius, thank you!
Doesn't seems to work on the 2010 mbp,
dietpi@srv0:~$ chattr -i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
chattr: Aucun fichier ou dossier de ce type while trying to stat /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
(file not found) (I tried with sudo too)
dietpi@srv0:~$ sudo printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
-bash: /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82: Permission non accordée
(no permissions)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, this doesn't work, since not even root has the permission to change these :/
Could you lend your help here?