6/6/20 12:51:18.676 PM cloudpaird[28573]: DEBUG cloudpaird: 系统不支持连续性

6/6/20 12:51:18.676 PM cloudpaird[28573]: DEBUG cloudpaird: 系统不支持连续性

我正在运行 OS X 10.11.6。

我每隔 10 秒就会在我的控制台系统日志中看到此警告。

6/6/20 12:51:18.676 PM cloudpaird[28573]: DEBUG cloudpaird: 系统不支持连续性

关于如何停止生成这些消息的服务有什么想法吗?

在此处输入图片描述

答案1

这篇文章给出了答案:

https://www.jamf.com/jamf-nation/discussions/12545/a-script-to-disable-handoff

禁用切换.sh:

#!/bin/bash

#LocalHomes=$(/usr/bin/dscl . -list /Users NFSHomeDirectory | grep -v /var/ | grep -v /Library/ | awk '$2 ~ /^\// {print $2;}')

LocalHomes=$(ls -l /dev/console | awk '{ print $3 }')
for OneHome in $LocalHomes; do
    userName=$(/bin/echo $OneHome | awk -F "/" '{print $NF;}')
    sudo -u $userName defaults write $OneHome/Library/Preferences/ByHost/com.apple.coreservices.useractivityd.plist ActivityAdvertisingAllowed -bool no
    sudo -u $userName defaults write $OneHome/Library/Preferences/ByHost/com.apple.coreservices.useractivityd.plist ActivityReceivingAllowed -bool no
done

相关内容