💻 Software
How to run a script at shutdown with Snow Leopard?
Fresh5 days ago
Mar 15, 20267592 viewsConfidence Score0%
0%
Problem
I want to run a script when I shutdown or restart my iMac, running Snow Leopard. I read somewhere that one could use the /etc/rc.shutdown.local for this, but it is not working for me. For example, I put the following lines on it: If I run: it does indeed mute the sound. However, if I have the sound…
Error Output
#!/bin/sh /usr/bin/osascript -e "set volume with output muted"
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to run a script at shutdown with Snow Leopard?
Low Risk
It is actually working now. I think it's just because the correct name is rc.local.shutdown and not rc.shutdown.local.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix