Artifact a3cf8e39fdc15009e8499218d2a30d4cdbfc3bac:
- Executable file build/cackey_osx_build/Template_pmbuild/scripts/04pkcs11tokend-post.sh — part of check-in [e2fd50bfda] at 2016-08-19 16:32:51 on branch trunk — Updated CACKey Apple Mac macOS OS X Postinstall and Uninstall scripts to properly disable and enable builtin conflicting OS components when on 10.12 "Sierra" or newer (user: kvanals, size: 307) [annotate] [blame] [check-ins using]
#!/bin/bash chmod -R go+rX /Library/Security/tokend/PKCS11.tokend chown -R root:wheel /Library/Security/tokend/PKCS11.tokend # If on Sierra or newer, disable the pivtoken CryptoTokenKit if [ "`uname -r | cut -d '.' -f 1`" -ge "16" ]; then security smartcards token -d com.apple.CryptoTokenKit.pivtoken fi