在终端

时间:2015-10-07 08:39:16

标签: macos terminal infrared

我想在终端中运行cmd来禁用或启用apple远程。

我可以成功地在DeviceEnabled中设置值/Library/Preferences/com.apple.driver.AppleIRController.plist

defaults write /Library/Preferences/com.apple.driver.AppleIRController.plist DeviceEnabled -bool YESNO

如果我检查system preferences > security > general > advanced > disable remote control infrared receiver,则会显示正确的值。

但是远程禁用/启用状态没有改变。

所以我认为我必须杀死或重启一些进程。哪一个? 还是其他任何建议?

谢谢!

0 个答案:

没有答案
相关问题