Skip to content

Commit

Permalink
fixed issues with screenshot showing wrong id and removing DS info
Browse files Browse the repository at this point in the history
  • Loading branch information
twocanoes committed Apr 25, 2013
1 parent 3d527e2 commit 3c6c890
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
Binary file not shown.
12 changes: 1 addition & 11 deletions debug.perl
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
print STDERR "disabling\n";
system("rm /var/scripts/debug.perl");

if (-e "/Library/Preferences/DirectoryService/.DSLogDebugAtStart") {
system("rm /Library/Preferences/DirectoryService/.DSLogDebugAtStart");
system("killall DirectoryService");
}
if (-e "/Library/LaunchDaemons/com.twocanoes.debug.plist") {
system("launchctl unload -w /Library/LaunchDaemons/com.twocanoes.debug.plist");
system("rm /Library/LaunchDaemons/com.twocanoes.debug.plist");
Expand Down Expand Up @@ -121,13 +117,7 @@
}
else {
print "DS Debugging requested to be turned off\n";
system("/usr/bin/odutil set log debug");
# if (-e "/Library/Preferences/DirectoryService/.DSLogDebugAtStart") {
# print "turning off DS Debugging\n";
## system("rm /Library/Preferences/DirectoryService/.DSLogDebugAtStart");
## system("killall -USR1 DirectoryService");
# }
# else { print "DS Debugging was already off\n"; }
system("/usr/bin/odutil set log default");

}

Expand Down
Binary file added screenshots/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3c6c890

Please sign in to comment.