mirror of
https://github.com/elliotnunn/tbxi-patches.git
synced 2024-12-13 11:29:03 +00:00
vanilla
This commit is contained in:
parent
93fd9e753f
commit
00a3db5bf0
9
autocopy.sh
Executable file
9
autocopy.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user