SecondSonConsulting / Renew

A macOS script to encourage users to restart their workstations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add json file support instead of MDM configuration

BigMacAdmin opened this issue · comments

Add support for a remote or local JSON file for the configuration of Renew options.

Currently I use /usr/libexec/Plistbuddy to read the plist thats created in /Library/Managed Preferences/com.secondsonconsulting.renew.plist when you apply a mobile configuration file.

I think it would be a lot of work to make this JSON or plist compatible, but frankly I don't know. If anyone wants to weigh in on a method to do this in a shell script I'll consider it.