]> git.saurik.com Git - apple/security.git/blob - OSX/sec/SOSCircle/CloudKeychainProxy/scripts/soscopy
Security-57740.1.18.tar.gz
[apple/security.git] / OSX / sec / SOSCircle / CloudKeychainProxy / scripts / soscopy
1 #!/bin/zsh
2
3 echo "10873 12873 15873"
4
5 for port in "$@"
6 do
7 echo "Copying roots to port: $item"
8 RSYNC_PASSWORD=alpine rsync -av /tmp/security.roots.tgz rsync://root@localhost:$port/root/var/mobile/
9 RSYNC_PASSWORD=alpine rsync -av /tmp/security.syms.tgz rsync://root@localhost:$port/root/var/mobile/
10 RSYNC_PASSWORD=alpine rsync -av ~/bin/sosinstallroot rsync://root@localhost:$port/root/usr/local/bin/sosinstallroot
11 RSYNC_PASSWORD=alpine rsync -av /tmp/SyncedDefaults.roots.tgz rsync://root@localhost:$port/root/var/mobile/
12 done
13