#!/bin/sh

#  enable-remote-management.tool
#  Screens Connect
#
#  Created by Luc Vandal on 18-04-06.
#  Copyright (c) 2018 Edovia Inc. All rights reserved.

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -allUsers -privs -ControlObserve -clientopts -setreqperm -reqperm yes
sudo pmset womp 1
