juanjonol / Unlock-Redux

Unlock multiple Core Storage encrypted volumes at boot.
Other
8 stars 2 forks source link

Create exists_disk() function #7

Open juanjonol opened 8 years ago

juanjonol commented 8 years ago

Create a "exists_disk" function that accepts two callbacks: one to call if the disk is found in the JSON and another to call if it isn't.

This would simplify the add_disk and delete_disk functions.