Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the '10.5: Control the firewall from the command line - GeekTool' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.5: Control the firewall from the command line - GeekTool
Authored by: cxd101 on Tue, Jan 15 2008 at 5:18AM PST
MANY, MANY thanks for this post! Ever since I upgraded to Leopard, my firewall status "checker" using GeekTool has not worked, as I did not know what they new plist file was called. Using the information in this post, I was able to edit the GeekTool command, and it seems to work, as shown below:

if [ `defaults read "/Library/Preferences/com.apple.alf" globalstate` -eq 1 ];then EX=0;else EX=1;fi;exit $EX

[ Reply to This | # ]