mirror of
https://github.com/elliotnunn/tbxi-patches.git
synced 2024-05-28 14:41:26 +00:00
10 lines
353 B
Bash
Executable File
10 lines
353 B
Bash
Executable File
#!/bin/bash
|
|
|
|
REMOTE_DISK_NAME=Alpha
|
|
|
|
until mount | grep -q "/Volumes/$REMOTE_DISK_NAME"; do sleep 0.15; done
|
|
rm -f "/Volumes/$REMOTE_DISK_NAME/System Folder/Mac OS ROM"
|
|
binhex -o "/Volumes/$REMOTE_DISK_NAME/System Folder/Mac OS ROM" $<
|
|
diskutil unmountDisk force /dev/`diskutil info /Volumes/Alpha/ | grep "Part of Whole" | sed 's/.*:\s*//'`
|
|
say copied
|