-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Line 111 add: OSBigSur=/usr/bin/sw_vers -productVersion | awk -F. {'print $1'}
Line 177 add:
elif [[ $OSBigSur = 11 ]]; then
result=$(expect -c "
log_user 0
spawn fdesetup changerecovery -personal
expect "Enter the user name:"
send {${userName}}
send \r
expect "Enter a password for '/', or the recovery key:"
send {${userPass}}
send \r
log_user 1
expect eof
")
Metadata
Metadata
Assignees
Labels
No labels