tôi đang làm việc trên một hệ thống dualboot và sử dụng như sau AppleScript để cài đặt âm lượng khởi động:OSX 10.11 El Capitan - thiết khởi động sở hữu thiết bị không làm việc
tell application "Finder" to if not (disk "SoundHD" exists) then do shell script "diskutil mount " & last word of (do shell script "diskutil list | grep 'Apple_HFS SoundHD'")
do shell script "bless -mount \"/Volumes/SoundHD\" -setBoot --nextonly" with administrator privileges
display notification "Next Boot: SoundHD" with title "Neustart"
Kể từ El Capitan kịch bản sẽ không làm việc nữa và Tôi nhận được thông báo lỗi sau trong Trình chỉnh sửa tập lệnh:
tell application "Finder"
exists disk "SoundHD"
--> true
end tell
tell current application
do shell script "bless -mount \"/Volumes/SoundHD\" -setBoot --nextonly" with administrator privileges
--> error "Could not set boot device property: 0xe00002bc" number 3
Ergebnis:
error "Could not set boot device property: 0xe00002bc" number 3
Có một số thay đổi mới trong lệnh chúc lành không?
Cảm ơn bạn đã được trợ giúp.
tôi sẽ đổ lỗi cho hệ thống bảo vệ toàn vẹn nhưng tôi không chắc chắn –