From dabcdb7f38e008975814367f66f92d1f560af08d Mon Sep 17 00:00:00 2001 From: Angela Date: Wed, 9 Jun 2021 18:27:47 -0500 Subject: [PATCH] Add to-do's --- mac-mdm-deployment/README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/mac-mdm-deployment/README.md b/mac-mdm-deployment/README.md index c9ec03d..782376e 100644 --- a/mac-mdm-deployment/README.md +++ b/mac-mdm-deployment/README.md @@ -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) @@ -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