Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add task for killing pcscd

  • Loading branch information...
commit 3027b14dd7b3511cf45c8585f25a3d115d3ab663 1 parent 7d699c0
@tenderlove authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 Rakefile
View
5 Rakefile
@@ -21,4 +21,9 @@ RET = Rake::ExtensionTask.new("nfc", HOE.spec) do |ext|
ext.lib_dir = File.join('lib', 'nfc')
end
+task :kill do
+ pid = `sudo launchctl list | grep pcscd`[/^\d+/]
+ `sudo kill #{pid}` if pid
+end
+
# vim: syntax=Ruby
Please sign in to comment.
Something went wrong with that request. Please try again.