Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Turn off Macbook startup sound - Linux
#!/bin/bash
printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
@Bios-Marcel

This comment has been minimized.

Copy link

@Bios-Marcel Bios-Marcel commented Jan 9, 2019

Hey, this doesn't work, since not even root has the permission to change these :/

Could you lend your help here?

@jradmacher

This comment has been minimized.

Copy link

@jradmacher jradmacher commented Mar 31, 2019

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

@OdinElfson

This comment has been minimized.

Copy link

@OdinElfson OdinElfson commented Jun 8, 2020

I've been looking all over the web, all day, for a solution to this--> jradmacher you're a genius. Thank you thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.