我想在终端中运行cmd来禁用或启用apple远程。
我可以成功地在DeviceEnabled
中设置值/Library/Preferences/com.apple.driver.AppleIRController.plist
:
defaults write /Library/Preferences/com.apple.driver.AppleIRController.plist DeviceEnabled -bool YES
或NO
。
如果我检查system preferences > security > general > advanced > disable remote control infrared receiver
,则会显示正确的值。
但是远程禁用/启用状态没有改变。
所以我认为我必须杀死或重启一些进程。哪一个? 还是其他任何建议?
谢谢!