Lot’s of info online that repeats the same erroneous information, so let’s be clear:
To disable the startup chime on mac os x, including yosemite etc., enter the following on the command line:
sudo nvram SystemAudioVolume=%00
Notice that the volume percent is 00 (and not 80 as keeps being reported).