source: trunk/PrefsPane/Resources/DebugRunner.sh @ 1046

Revision 921, 730 bytes checked in by speck, 3 years ago (diff)

Fix typo in UseCompressedOops? arg.
Allow java proxy to run as another user when launched from the command line. This is for debugging only as it can't read/update the proxy files.
Use --long-argument style args for the proxy instead of just -single style.

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3echo
4echo "# This launches the GlimmerBlocker proxy using verbose logging."
5echo "#"
6echo "# You're asked for your password as it is required for running the proxy"
7echo "# using the _glimmerblocker user."
8echo "#"
9echo "# After typing the password, wait 5-10 seconds,"
10echo "# then select all the text (cmd-A) and email it to me."
11echo "#"
12echo "# The text aids debugging why GlimmerBlocker can't start."
13echo
14# clear sudo cache to avoid users panicking if they run this command twice,
15# and they're not asked for password the second time.
16sudo -k
17
18# launch the proxy
19sudo -u _glimmerblocker /Library/PreferencePanes/GlimmerBlocker.prefPane/Contents/GlimmerBlockerProxy.app/Contents/MacOS/GlimmerBlocker --make-report
Note: See TracBrowser for help on using the repository browser.