This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>PrimaryCatalog</key> | |
| <string>http://swupdate.example.com/content/catalogs/index.sucatalog</string> | |
| <key>CatalogsList</key> | |
| <array> | |
| <string>http://swupdate.example.com/content/catalogs/index.sucatalog</string> | |
| <string>http://swupdate.example.com/content/catalogs/others/index-leopard.merged-1.sucatalog</string> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.launchdaemon.name</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/path/to/rsync/script</string> | |
| </array> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/sh | |
| #################################################################################################### | |
| # | |
| # License: https://macmule.com/license/ | |
| # | |
| #################################################################################################### | |
| # wait for network, method pinched from chilcote | |
| . /etc/rc.common | |
| CheckForNetwork | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | sh-3.2# ssh-keygen -t rsa | |
| Generating public/private rsa key pair. | |
| Enter file in which to save the key (/var/root/.ssh/id_rsa): | |
| Created directory '/var/root/.ssh'. | |
| Enter passphrase (empty for no passphrase): | |
| Enter same passphrase again: | |
| Your identification has been saved in /var/root/.ssh/id_rsa. | |
| Your public key has been saved in /var/root/.ssh/id_rsa.pub. | |
| The key fingerprint is: | |
| 73:77:c8:83:17:2c:9e:b1:6e:71:2d:bf:68:e7:8e:3b [email protected] | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/usr/bin/python | |
| """ | |
| License: https://macmule.com/license/ | |
| """ | |
| import logging | |
| import os | |
| import shutil | |
| import signal | |
| import subprocess | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | +-------------+-------------------------------+ | |
| | computer_id | default_distribution_point_id | | |
| +-------------+-------------------------------+ | |
| | 200 | -1 | | |
| | 3 | -1 | | |
| | 7 | -1 | | |
| | 8 | -1 | | |
| | 9 | -1 | | |
| | 10 | -1 | | |
| | 292 | -1 | | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | +-------------+-------------------------------+ | |
| | computer_id | default_distribution_point_id | | |
| +-------------+-------------------------------+ | |
| | 200 | 8 | | |
| | 3 | 14 | | |
| | 7 | 7 | | |
| | 8 | 6 | | |
| | 9 | 4 | | |
| | 10 | 8 | | |
| | 292 | 12 | | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| #################################################################################################### | |
| # | |
| # License: https://macmule.com/license/ | |
| # | |
| #################################################################################################### | |
| catalogURL=$(defaults read /Library/Preferences/com.apple.SoftwareUpdate CatalogURL) | |
| if [ -z $catalogURL ]; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| #################################################################################################### | |
| # | |
| # License: https://macmule.com/license/ | |
| # | |
| #################################################################################################### | |
| updateServerFQDN="UPDATES.MYCOMPANY.COM" | |
| sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://"$updateServerFQDN":/index.sucatalog |