Skip to content

Commit

Permalink
Add to-do's
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-d authored Jun 9, 2021
1 parent d0c1927 commit dabcdb7
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions mac-mdm-deployment/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# MDM Mass Deployment of Autohosts
Ignore this if you're an end-user and not deploying to a fleet of Macs. Instructions for singular users is on the main README.

Helper scripts can be found in the [Mac MDM Deployment](./mac-mdm-deployment/) folder.
Helper scripts can be found in the [Mac MDM Deployment](./) folder.

## Upload the Following to Your MDM
- [ ] [autohosts core script](../autohosts) - from the main repo index
- [ ] [com.github.angela-d-autohosts.plist](./Library/LaunchAgents/com.github.angela-d-autohosts.plist) - plist config from the *mac-mdm-deployment* folder
- [ ] [load-autohosts.sh](./var/scripts/autohosts/load-autohosts.sh) - LaunchAgent loader
- [ ] [unload-autohosts.sh](./var/scripts/autohosts/unload-autohosts.sh) - LaunchAgent unloader
- [ ] [uninstall script](../uninstall-autohosts) - from the main repo index
- [ ] [uninstall script](../uninstall-authohosts) - from the main repo index

The core Autohost scripts expects the following files to exist during initial install; it makes a copy of them to the 'current' user's /User directory:
The core Autohost scripts expects the following files to exist during initial install; it makes a copy of them to the 'current' (non-root) user's `/User/autohosts/` directory:
- [ ] [custom_filters](./var/scripts/autohosts/custom_filters) - Anything you want blocked that isn't in upstream (can be partial TLDs)
- [ ] [hosts_source](./var/scripts/autohosts/hosts_source) - By default, only Steven Black's host file is used; add/remove your own
- [ ] [whitelist](./var/scripts/autohosts/whitelist) - Anything you want to whitelist that may be blocked upstream (presence in **whitelist** will remove it upon each update of the hosts file)
Expand All @@ -34,3 +34,17 @@ The core Autohost scripts expects the following files to exist during initial in
**Post-Uninstallation Script(s)**

- [ ] uninstall-autohosts

### To-Do
Script to overwrite(?)/append user's `/User/autohosts/hosts_source`, `/User/autohosts/whitelist` & `/User/autohosts/custom_filters`

In the interum (if you want to deploy custom filters/whitelists to users):

- Before Association
- Simply edit the files in question from your MDM dashboard
- Deploy

- After Association
- Delete original association
- Modify the files in question from your MDM dashboard
- Re-deploy

0 comments on commit dabcdb7

Please sign in to comment.